bevy/crates/bevy_ecs/src
Carter Anderson b6be8a5314 Fix table reserve logic (#1698)
Fixes #1692
Alternative to #1696

This ensures that the capacity actually grows in increments of grow_amount, and also ensures that Table capacity is always <= column and entity vec capacity.

Debug logs that describe the new logic (running the example in #1692)
[out.txt](https://github.com/bevyengine/bevy/files/6173808/out.txt)
2021-03-19 23:32:31 +00:00
..
component Reliable change detection (#1471) 2021-03-19 17:53:26 +00:00
entity Fix cargo doc warnings (#1640) 2021-03-13 18:23:38 +00:00
query Provide better size_hint for QueryIter (#1697) 2021-03-19 20:52:44 +00:00
schedule Reliable change detection (#1471) 2021-03-19 17:53:26 +00:00
storage Fix table reserve logic (#1698) 2021-03-19 23:32:31 +00:00
system Reliable change detection (#1471) 2021-03-19 17:53:26 +00:00
world Reliable change detection (#1471) 2021-03-19 17:53:26 +00:00
archetype.rs Reliable change detection (#1471) 2021-03-19 17:53:26 +00:00
bundle.rs Reliable change detection (#1471) 2021-03-19 17:53:26 +00:00
lib.rs Reliable change detection (#1471) 2021-03-19 17:53:26 +00:00
reflect.rs Reliable change detection (#1471) 2021-03-19 17:53:26 +00:00