Closed rbtcollins closed 4 years ago
Thanks @amorken yeah, I do wonder if a larger rearrangement would be beneficial; I avoided having an explicit trait until now to make writing strategies ultra low overhead - and it is kindof magical that the simple closures still works :). Until I see a strategy that actually needs a larger footprint I'm satisfied with this though.
This was an attempt to fix the poor scaling of same-feature lookups but has not worked. It is however a useful improvement to have.
I may need to crack out CPU profiling tools next to determine what is up. It isn't exactly slow : 500k lookups per thread per second still allows lots of headroom for developers to use toggles with confidence, but it would be nice to figure out the issue and fix it.
Close #2