Bevy uses hashbrown for its HashMap and HashSet implementations. It is re-exported from bevy_utils and used throughout Bevy.
Bevy is currently stuck on version 0.14.x of hashbrown. 0.15.x is available, with various improvements. It also changes the default hashing function from ahash to foldhash (faster). We should consider adopting that.
I intended to make a PR for this, but it turned out that the upgrade is not straightforward, due to breaking changes. Someone who knows how to fix the breakage should do it…
Bevy uses
hashbrown
for itsHashMap
andHashSet
implementations. It is re-exported frombevy_utils
and used throughout Bevy.Bevy is currently stuck on version 0.14.x of hashbrown. 0.15.x is available, with various improvements. It also changes the default hashing function from ahash to foldhash (faster). We should consider adopting that.
I intended to make a PR for this, but it turned out that the upgrade is not straightforward, due to breaking changes. Someone who knows how to fix the breakage should do it…