Skip to content

New API to convert directly between lazy and short bytestrings#619

Merged
Bodigrim merged 2 commits intohaskell:masterfrom
vdukhovni:lazy-from-to-short
Sep 12, 2025
Merged

New API to convert directly between lazy and short bytestrings#619
Bodigrim merged 2 commits intohaskell:masterfrom
vdukhovni:lazy-from-to-short

Conversation

@vdukhovni
Copy link
Contributor

No description provided.

@Bodigrim Bodigrim requested a review from clyring October 11, 2023 20:30
Copy link
Member

@clyring clyring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what's going on with CI.

I don't mind this style of concatenation seen in lazyToShort, but will point out that every other concatenation-like function in the package calculates the total length first and allocates just one buffer.

@vdukhovni
Copy link
Contributor Author

@clyring I believe your concerns have now been addressed. Please let me know if there are any remaining issues.

@vdukhovni
Copy link
Contributor Author

@hsyl20 @clyring @Bodigrim I believe this is done. Please let me know if anything is missing.

Copy link
Contributor

@hsyl20 hsyl20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks and LGTM

@Bodigrim Bodigrim merged commit 0178d46 into haskell:master Sep 12, 2025
28 checks passed
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.

5 participants