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

Optimize evals for lists #1596

Merged
merged 1 commit into from
Sep 8, 2019
Merged

Conversation

kubukoz
Copy link
Member

@kubukoz kubukoz commented Sep 7, 2019

As mentioned in #1582, using Stream.emits(foo.toList) will be much faster for lists than foldMap when used with a list or structure like Chain (I suppose it'll still depend on how the Chain is built and so on, but users can optimize for their specific use-cases themselves).

Also closes #1571

@mpilquist mpilquist merged commit 5e53b75 into typelevel:series/1.1 Sep 8, 2019
@kubukoz kubukoz deleted the evals-perf branch September 8, 2019 13:37
@mpilquist mpilquist added this to the 1.1.0 milestone Sep 10, 2019
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.

Allow creating stream from sequence in effect
2 participants