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

Optimise creating zeroed vectors #272

Open
TomFryersMidsummer opened this issue Jun 11, 2024 · 0 comments
Open

Optimise creating zeroed vectors #272

TomFryersMidsummer opened this issue Jun 11, 2024 · 0 comments

Comments

@TomFryersMidsummer
Copy link

Currently, creating a zeroed BitVec is not as fast as it perhaps could be, because it ends up calling __rust_alloc and then zeroing the memory. It would be nice to take advantage of __rust_alloc_zeroed, if it is possible to do so.

See this Rust issue for context.

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

No branches or pull requests

1 participant