bevy/crates/bevy_ecs
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
..
benches combine bevy_ecs and bevy_hecs crates. rename XComponents to XBundle (#863) 2020-11-15 20:32:23 -08:00
macros release 0.4.0 (#1093) 2020-12-19 13:28:00 -06:00
src Use fxhash in TypeIdMap. (#1119) 2021-01-07 17:42:09 -08:00
Cargo.toml Use fxhash in TypeIdMap. (#1119) 2021-01-07 17:42:09 -08:00
LICENSE_APACHE combine bevy_ecs and bevy_hecs crates. rename XComponents to XBundle (#863) 2020-11-15 20:32:23 -08:00
LICENSE_MIT combine bevy_ecs and bevy_hecs crates. rename XComponents to XBundle (#863) 2020-11-15 20:32:23 -08:00
README.md combine bevy_ecs and bevy_hecs crates. rename XComponents to XBundle (#863) 2020-11-15 20:32:23 -08:00

Bevy ECS

Bevy Engine's entity component system

Licensing

Bevy ECS has its roots in hecs, which is licensed as Apache 2.0. All original hecs code is licensed under Apache 2.0. All added/modified code is dual licensed under MIT and Apache 2.0. Files with an Apache 2.0 license header (with Google LLC as the copyright holder) were from the "original hecs" codebase. Files without the header were created by Bevy contributors.