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

Refactor zeroing for loops with the [u8]::fill method #41

Merged

Conversation

MSalah73
Copy link
Contributor

Refactored map_zeroed & map_prefix_tuple_zeroed's for-loops with the [u8]::fill method.

Resolves #38

Refactored map_zeroed & map_prefix_tuple_zeroed's for-loops with the [u8]::fill method.

Resolves google#38
Copy link
Member

@joshlf joshlf left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for this, @MSalah73!

@joshlf joshlf merged commit 6aea74e into google:main Oct 10, 2022
joshlf pushed a commit that referenced this pull request Aug 3, 2023
Refactor map_zeroed & map_prefix_tuple_zeroed's for loops with the
`[u8]::fill` method.

Resolves #38
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.

Replace for loop with [u8]::fill method
2 participants