Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Improve memory pressure #5613

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Jul 30, 2020

this is the duplicate of #5610, it is refactoring to ensure outer values are not retained when they do not have to be. It needs to be done in a separate PR because the branches diverge just enough to require it. This PR also has some mild, internal type fixes.

this is the duplicate of ReactiveX#5610, it is refactoring to ensure outer values are not retained when they do not have to be. It needs to be done in a separate PR because the branches diverge just enough to require it. This PR also has some mild, internal type fixes.
@benlesh
Copy link
Member Author

benlesh commented Jul 30, 2020

Note that the changes are not 1:1 with the other PR. I have to do things like leave InnerSubscriber and OuterSubscriber in the same spot with the same names for rxjs-compat. I could have refactored and aliased, but it's not really worth the effort and extra risk.

@benlesh
Copy link
Member Author

benlesh commented Jul 30, 2020

The TS3 test isn't really supposed to pass for 6.x. I'm not sure why we're hinging on it.

Copy link
Member

@niklas-wortmann niklas-wortmann left a comment

Choose a reason for hiding this comment

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

LGTM

@benlesh benlesh merged commit 10cc8a6 into ReactiveX:6.x Jul 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants