bevy/crates/bevy_ecs/src/core
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
..
access.rs combine bevy_ecs and bevy_hecs crates. rename XComponents to XBundle (#863) 2020-11-15 20:32:23 -08:00
archetype.rs Use fxhash in TypeIdMap. (#1119) 2021-01-07 17:42:09 -08:00
borrow.rs ecs: replace "bool" component states with bitflags (#878) 2020-11-17 17:04:44 -08:00
bundle.rs Document part of bevy_ecs::Commands (#976) 2020-12-02 19:11:28 -08:00
entities.rs updates on diagnostics (log + new diagnostics) (#1085) 2020-12-24 13:28:31 -06:00
entity_builder.rs combine bevy_ecs and bevy_hecs crates. rename XComponents to XBundle (#863) 2020-11-15 20:32:23 -08:00
entity_map.rs Fix errors and panics to typical Rust conventions (#968) 2020-12-02 11:31:16 -08:00
filter.rs ecs: replace "bool" component states with bitflags (#878) 2020-11-17 17:04:44 -08:00
mod.rs add Flags<T> as a query to get flags of component (#1172) 2020-12-31 16:29:08 -06:00
query.rs add Flags<T> as a query to get flags of component (#1172) 2020-12-31 16:29:08 -06:00
serde.rs Bevy Reflection (#926) 2020-11-27 16:39:59 -08:00
world_builder.rs Renderer Optimization Round 1 (#958) 2020-12-01 13:17:48 -08:00
world.rs updates on diagnostics (log + new diagnostics) (#1085) 2020-12-24 13:28:31 -06:00