Sync to upstream Jecs 0.5.5
This commit is contained in:
parent
ef2c93c6df
commit
f041a756f8
3 changed files with 617 additions and 424 deletions
|
@ -12,6 +12,7 @@ The format is based on [Keep a Changelog][kac], and this project adheres to
|
|||
|
||||
- `[world]`:
|
||||
- 16% faster `world:get`
|
||||
- `world:has` no longer typechecks components after the 8th one.
|
||||
- `[typescript]`
|
||||
|
||||
- Fixed Entity type to default to `undefined | unknown` instead of just `undefined`
|
||||
|
@ -165,7 +166,7 @@ The format is based on [Keep a Changelog][kac], and this project adheres to
|
|||
|
||||
- Separates ranges for components and entity IDs.
|
||||
|
||||
- IDs created with `world:component()` will promote array lookups rather than map lookups in the `componentIndex` which is a significant boost
|
||||
- IDs created with `world:component()` will promote array lookups rather than map lookups in the `component_index` which is a significant boost
|
||||
|
||||
- No longer caches the column pointers directly and instead the column indices which stay persistent even when data is reallocated during swap-removals
|
||||
- This was an issue with the iterator being invalidated when you move an entity to a different archetype.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue