bitvec icon indicating copy to clipboard operation
bitvec copied to clipboard

Optimise creating zeroed vectors

Open TomFryersMidsummer opened this issue 1 year ago • 0 comments

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.

TomFryersMidsummer avatar Jun 11 '24 10:06 TomFryersMidsummer