Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dwcullop
Copy link
Member

@dwcullop dwcullop commented May 24, 2025

Description

Thanks to @paagamelo2 for finding this issue (#1000)

…ssed in order instead of processing remove changes after the others.
@dwcullop dwcullop changed the title TransformOnObservable Fix Ensure TransformOnObservable preserves ChangeSet order May 24, 2025
@JakenVeina
Copy link
Collaborator

JakenVeina commented May 25, 2025

Benchmarks from a few different implementations of this operator that we workshopped in Slack:

Method Mean Error StdDev Ratio RatioSD Gen0 Gen1 Gen2 Allocated Alloc Ratio
Jake_Barebones 24.87 ms 0.358 ms 0.317 ms 1.00 0.02 3312.5000 3312.5000 3312.5000 21.54 MB 1.00
Jake_OperatorComposition 30.61 ms 0.304 ms 0.284 ms 1.23 0.02 3312.5000 3312.5000 3312.5000 21.96 MB 1.02
Darrin_SubscriptionCounting 28.24 ms 0.279 ms 0.233 ms 1.14 0.02 3312.5000 3312.5000 3312.5000 22.11 MB 1.03
Darrin_SubscriptionDictionary 27.45 ms 0.169 ms 0.158 ms 1.10 0.01 3312.5000 3312.5000 3312.5000 21.95 MB 1.02

The last one is the current version in the PR.

Copy link
Collaborator

@JakenVeina JakenVeina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix that failing test, and I'm sold.

dwcullop added 3 commits May 25, 2025 06:51
Created KeyedDisposable helper class
More unit tests
@dwcullop dwcullop enabled auto-merge (squash) May 25, 2025 17:29
@dwcullop dwcullop merged commit 50a4c48 into reactivemarbles:main May 25, 2025
1 check passed
@github-actions
Copy link

github-actions bot commented Jun 9, 2025

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants