Compare commits

...

3 commits

Author SHA1 Message Date
Laptev Stanislav
9637739131
Merge 47e60ccfc3 into bee92f489c 2025-06-27 18:50:07 +03:00
Laptev Stanislav
47e60ccfc3
Merge branch 'Ukendio:main' into bugfix/readme 2025-06-27 18:41:22 +03:00
Laptev Stanislav
67a9f437a8
Fix typo in CHANGELOG.md 2025-06-27 18:35:21 +03:00

View file

@ -10,7 +10,7 @@
- `bulk_insert` and `bulk_remove` respectively for moving an entity to an archetype without intermediate steps. - `bulk_insert` and `bulk_remove` respectively for moving an entity to an archetype without intermediate steps.
### Changed ### Changed
- The fields `archetype.records[id]` and `archetype.counts[id` have been removed from the archetype struct and been moved to the component record `component_index[id].records[archetype.id]` and `component_index[id].counts[archetype.id]` respectively. - The fields `archetype.records[id]` and `archetype.counts[id]` have been removed from the archetype struct and been moved to the component record `component_index[id].records[archetype.id]` and `component_index[id].counts[archetype.id]` respectively.
- Removed the metatable `jecs.World`. Use `jecs.world()` to create your World. - Removed the metatable `jecs.World`. Use `jecs.world()` to create your World.
- Archetypes will no longer be garbage collected when invalidated, allowing them to be recycled to save a lot of performance during frequent deletion. - Archetypes will no longer be garbage collected when invalidated, allowing them to be recycled to save a lot of performance during frequent deletion.
- Removed `jecs.entity_index_try_get_fast`. Use `jecs.entity_index_try_get` instead. - Removed `jecs.entity_index_try_get_fast`. Use `jecs.entity_index_try_get` instead.