From ebce1f9c4a9f3e3d3b93675a99c6fabd7facacc0 Mon Sep 17 00:00:00 2001 From: memoryruins Date: Thu, 8 Oct 2020 18:32:25 -0400 Subject: [PATCH] Remove outdated ecs docs (#646) --- crates/bevy_ecs/hecs/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/bevy_ecs/hecs/README.md b/crates/bevy_ecs/hecs/README.md index d3e6ed3958..52452c7ecf 100644 --- a/crates/bevy_ecs/hecs/README.md +++ b/crates/bevy_ecs/hecs/README.md @@ -13,7 +13,6 @@ your application however you like! This is the Bevy project's fork of hecs with changes that accommodate the needs of the Bevy game engine. Some notable changes: * Entity indices are now queryable and are not returned in queries by default. This both improves ergonomics and significantly boosts performance in some cases. -* Entity indices are now UUIDs and are no longer generational. This allows apps to use Entity ids as stable ids during serialization and networking. This also improves query performance because we don't need to look up entity generation information while iterating. It also removes ~300 lines of code dedicated to entity index maintenance. However this new model does come at a small cost: entity creation + `world.get::(entity)` lookup now requires hashing, which by our benchmarks is about 5x slower than the previous array indexing implementation. Given that this is an uncommon pattern and the major benefits the new design yields, we consider this small corner-case performance cost worth it. * Expose more interfaces as public so that we can build higher-level apis on top of the core hecs codebase (multithreading, functions-as-systems, world builders, schedules, etc) * Change Tracking