bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
36.46k stars 3.6k forks source link

Outdated hashbrown dependency #16478

Open inodentry opened 6 days ago

inodentry commented 6 days ago

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…

bezmuth commented 6 days ago

https://github.com/bevyengine/bevy/pull/15801/ is handling this