Sync to upstream Jecs 0.5.5

This commit is contained in:
marked 2025-03-02 02:35:10 +00:00 committed by github-actions[bot]
parent ef2c93c6df
commit f041a756f8
3 changed files with 617 additions and 424 deletions

View file

@ -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.

1036
init.luau

File diff suppressed because it is too large Load diff

View file

@ -11,7 +11,7 @@ includes = [
license = "MIT"
name = "marked/jecs"
repository = "https://git.devmarked.win/marked/jecs-pesde"
version = "0.5.3"
version = "0.5.5"
[indices]
default = "https://github.com/pesde-pkg/index"