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

High(er) performance tryTakeN for Queue.bounded #2917

Merged
merged 54 commits into from
Jun 19, 2022

Conversation

djspiewak
Copy link
Member

Ports the drain function from the jctools MpmcArrayQueue. This basically just fast-paths the single-consumer bulk consumption scenario (which is to say, Fs2's Channel).

Builds on #2885
Closes #2890

@djspiewak djspiewak changed the title Feature/high perf try take n High(er) performance tryTakeN for Queue.bounded Mar 26, 2022
@djspiewak djspiewak added this to the v3.4.0 milestone Apr 2, 2022
@djspiewak
Copy link
Member Author

Depends on #3000

@djspiewak djspiewak merged commit f854cb9 into typelevel:series/3.x Jun 19, 2022
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.

Implement optimized tryTakeN for async Queue.bounded
3 participants