zesterer / broom

An ergonomic tracing garbage collector that supports mark 'n sweep garbage collection
https://docs.rs/broom/
252 stars 9 forks source link

[performance] hashmap #6

Open peter7891 opened 1 year ago

peter7891 commented 1 year ago

Have you tried to use a btreemap, instead of the hashmap? It might be faster, for various reasons.

If not, i think https://crates.io/crates/rustc-hash is faster than Ahash.

zesterer commented 1 year ago

I've not done all that much performance testing, no. I've not had much time to maintain this crate what with other commitments, but I'm happy to review and accept PRs if you think there are improvements to be made in this area.