Closed sameer closed 1 year ago
I'm using Instruments on macOS to look at the CPU profile of a proptest and it's now optimized to memset
🚀
Before:
After:
@matthew-russo are you able to approve the workflows / merge this?
I didn't realize the workflows weren't running. just kicked that off. we normally try to get two maintainers eyes on things before merging -- i pinged the others yesterday to give a look.
I noticed that
VarBitSet::saturated
takes a significant amount of time when generating data withVecStrategy
. There are two perf issues:FromIterator
leads to repeated grow callsfrom_elem
since we're setting all bits