Skip to content

block-buffer: improve split_blocks implementations - #1220

Merged
newpavlov merged 1 commit into
masterfrom
block-buffer/tweak_split_blocks
Sep 21, 2025
Merged

newpavlov merged 1 commit into
masterfrom
block-buffer/tweak_split_blocks

Conversation

@newpavlov

Copy link
Copy Markdown
Member

This PR simplifies implementations and removes unsafe by leveraging Array::slice_as_chunks. The resulting code is still panic-free, as can be seen here: https://rust.godbolt.org/z/43xMT3ExP

@newpavlov
newpavlov merged commit 7d8fcb9 into master Sep 21, 2025
10 checks passed
@newpavlov
newpavlov deleted the block-buffer/tweak_split_blocks branch September 21, 2025 07:19
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.

1 participant