bevy/crates/bevy_ecs/src
AngelicosPhosphoros 9bce8712b5
Use fxhash in TypeIdMap. (#1119)
Relying on TypeId being some hash internally isn't future-proof because there is no guarantee about internal layout or structure of TypeId. I benchmarked TypeId noop hasher vs fxhash and found that there is very little difference.
Also fxhash is likely to be better supported because it is widely used in rustc itself.
[Benchmarks of hashers](https://github.com/bevyengine/bevy/issues/1097)
[Engine wide benchmarks](https://github.com/bevyengine/bevy/pull/1119#issuecomment-751361215)
2021-01-07 17:42:09 -08:00
..
core Use fxhash in TypeIdMap. (#1119) 2021-01-07 17:42:09 -08:00
resource Fix errors and panics to typical Rust conventions (#968) 2020-12-02 11:31:16 -08:00
schedule Refactor Box<dyn System> to BoxedSystem (#1191) 2021-01-03 12:39:30 -08:00
system Refactor Box<dyn System> to BoxedSystem (#1191) 2021-01-03 12:39:30 -08:00
tests combine bevy_ecs and bevy_hecs crates. rename XComponents to XBundle (#863) 2020-11-15 20:32:23 -08:00
lib.rs add Flags<T> as a query to get flags of component (#1172) 2020-12-31 16:29:08 -06:00