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

Chunk - Introduce a Constant Chunk subclass. #2995

Merged
merged 1 commit into from Oct 7, 2022

Conversation

diesalbla
Copy link
Contributor

When creating a constant stream, out of constant chunks, we do not need to allocate a list of 256 nodes with the same value. instead we can just write a chunk as a constant function.

When creating a constant stream, out of constant chunks, we do not
need to allocate a list of 256 nodes with the same value. instead
we can just write a chunk as a constant function.
@mpilquist mpilquist merged commit 983e2f7 into typelevel:main Oct 7, 2022
@diesalbla diesalbla deleted the constant_chunk branch October 7, 2022 20:00
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.

None yet

2 participants