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

fix(ScalarObservable): remove ScalarObservable optimization #1161

Closed
wants to merge 1 commit into from

Conversation

kwonoj
Copy link
Member

@kwonoj kwonoj commented Jan 11, 2016

  • remove usage of ScalarObservable for optimization
  • implementation of ScalarObservable still remain for possible further usage

closes #1142, #1150, #1140

Created PR, though it's bit early to get conclusion. Can be closed if it's decided to use ScalarObservable.

This PR removes usage of ScalarObservable from operators, but remain implementation itself for possible further discussions around optimizations when it's required.

- remove usage of ScalarObservable for optimization
- implementation of ScalarObservable still remain for possible further usage

closes ReactiveX#1142, ReactiveX#1150, ReactiveX#1140
@staltz
Copy link
Member

staltz commented Jan 12, 2016

I think the idea was to remove the optimization from ScalarObservable, not to remove ScalarObservable itself (I might be reading Ben wrong though). I can imagine there are performance benefits in keeping ScalarObservable. At least I think #1142 is only about removing the eager optimizations from ScalarObservable, not removing itself from FromObservable e.g.

@kwonoj
Copy link
Member Author

kwonoj commented Jan 12, 2016

Ah, seems I was in hurry and did not get point correctly. Thanks for pointing out, @staltz . Let me close this, if this is really considerable can be reopened later.

@kwonoj kwonoj closed this Jan 12, 2016
@kwonoj kwonoj deleted the remove-scalar branch January 29, 2016 19:06
@lock
Copy link

lock bot commented Jun 7, 2018

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

@lock lock bot locked as resolved and limited conversation to collaborators Jun 7, 2018
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.

Remove ScalarObservable optimizations for map, filter, reduce, scan, etc?
2 participants