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

1.x: update map() and filter() to implement OnSubscribe directly #4097

Merged
merged 1 commit into from
Jun 25, 2016

Conversation

akarnokd
Copy link
Member

This change reduces the indirection and allocation count when using map or filter.

@codecov-io
Copy link

Current coverage is 80.28%

Merging #4097 into 1.x will increase coverage by 0.03%

@@                1.x      #4097   diff @@
==========================================
  Files           259        260     +1   
  Lines         16821      16852    +31   
  Methods           0          0          
  Messages          0          0          
  Branches       2554       2555     +1   
==========================================
+ Hits          13500      13530    +30   
+ Misses         2408       2405     -3   
- Partials        913        917     +4   

Powered by Codecov. Last updated by afe3cb0...abbd11d

@stevegury
Copy link
Member

👍

@akarnokd
Copy link
Member Author

Thanks @stevegury ! Could you give your opinion about #4098 as well?

@artem-zinnatullin
Copy link
Contributor

👍

// great that we have enough tests and coverage reports to perform such rewrites!

@akarnokd akarnokd merged commit c110f69 into ReactiveX:1.x Jun 25, 2016
@akarnokd akarnokd deleted the MapFilterDirect branch June 25, 2016 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants