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(Subscription): minor size reduction #5707

Merged

Conversation

benlesh
Copy link
Member

@benlesh benlesh commented Sep 9, 2020

  • Reduces the size of subscription a little
  • Moves back to a single property for single/many parents scenarios
  • Updates the type of Teardown to not be so loose. does not may any sense there.

- Reduces the size of `Subscription` slightly.
- Moves back to a single property for single parent, many parents, scenarios
- Updates the type of `Teardown` to not be so loose. `Function` shouldn't be used.
@benlesh benlesh force-pushed the refactor/Subscription-minor-code-golf branch from 1f0c640 to 5141183 Compare September 9, 2020 16:31
@benlesh benlesh requested a review from cartant September 9, 2020 16:44
Copy link
Collaborator

@cartant cartant left a comment

Choose a reason for hiding this comment

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

LGTM. I can see that this restores one of Benedikt's perf changes. FWIW, I'm planning on taking a closer look at some perf-related aspects of the codebase - but not until after I've written the next week's talk. I built the V8 source, yesterday, so that I can use d8. It's been a long time since I last dealt with a C++ project that takes as long to build as that one does.

@benlesh benlesh merged commit 6416935 into ReactiveX:master Sep 10, 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