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

Made Scalar::bits return an iterator rather than an array #451

Merged
merged 4 commits into from
Dec 8, 2022

Conversation

rozbb
Copy link
Contributor

@rozbb rozbb commented Dec 5, 2022

This should address #448

cc @tarcieri
cc @burdges

@rozbb
Copy link
Contributor Author

rozbb commented Dec 7, 2022

Sorry for the botther. I added an explicit zeroize() statement for the last bit on the stack. It seems like overkill (frankly I don't know how often we care about leaking stack data) but if you think it's okay I'll merge and move on.

@burdges
Copy link
Contributor

burdges commented Dec 7, 2022

Yeah I'm not sure what the original code built to, just looked odd to me. :) I didn't know if it originated from SIMD thing or what, or just the original code style. Anyways I guess you've regression tests so you'll see what happens here.

@rozbb rozbb merged commit 0b72bb5 into release/4.0 Dec 8, 2022
@rozbb rozbb mentioned this pull request Dec 9, 2022
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.

3 participants