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

Scope - Small tweak to isInterrupted #2847

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

diesalbla
Copy link
Contributor

Modifies isInterrupted to join map and flatMap into single step. Since the isInterrupted is called often in the stream processing, one less F action in here may help performance a little bit.

Modifies `isInterrupted` to join the `map` and `flatMap`.
Since the `isInterrupted` is called often in the stream processing,
one less F action in here may help performance a little bit.
@mpilquist mpilquist merged commit 3f40b8c into typelevel:main Mar 11, 2022
@diesalbla diesalbla deleted the scope_microptimise_isInterrupte branch March 14, 2022 20:31
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