Sync to released Jecs 0.5.5-nightly.20250414T001100Z #33

Merged
marked merged 1 commit from auto/synchronize into main 2025-04-14 02:11:20 +02:00
7 changed files with 16 additions and 19 deletions

View file

@ -1,2 +1,2 @@
modified = ["addons/observers.luau", ".luaurc", "CHANGELOG.md", "jecs.luau"]
version = "0.5.5-nightly.20250413T001101Z"
modified = ["jecs.luau"]
version = "0.5.5-nightly.20250414T001100Z"

View file

@ -1260,7 +1260,7 @@ local function world_delete(world: ecs_world_t, entity: i53)
local tr = idr_r_archetype.records[rel]
local tr_count = idr_r_archetype.counts[rel]
local types = idr_r_archetype.types
for i = tr, tr_count - 1 do
for i = tr, tr_count do
ids[types[tr]] = true
end
local n = #entities

View file

@ -3,7 +3,7 @@ includes = ["init.luau", "pesde.toml", "README.md", "CHANGELOG.md", "LICENSE", "
license = "MIT"
name = "marked/jecs_nightly"
repository = "https://git.devmarked.win/marked/jecs-nightly"
version = "0.5.5-nightly.20250413T001101Z"
version = "0.5.5-nightly.20250414T001100Z"
[indices]
default = "https://github.com/pesde-pkg/index"

View file

@ -3,7 +3,7 @@ includes = ["init.luau", "pesde.toml", "README.md", "CHANGELOG.md", "LICENSE", "
license = "MIT"
name = "marked/jecs_nightly"
repository = "https://git.devmarked.win/marked/jecs-nightly"
version = "0.5.5-nightly.20250413T001101Z"
version = "0.5.5-nightly.20250414T001100Z"
[indices]
default = "https://github.com/pesde-pkg/index"

View file

@ -1,2 +1,2 @@
passed = true
timestamp = "20250413T001103Z"
timestamp = "20250414T001102Z"

View file

@ -1,8 +1,6 @@
----idempotent
1_2
7.4 us  2 kB│ delete children of entity
9.5 us  1 kB│ remove friends of entity
352 ns  0  B│ simple deletion of entity
7.3 us  3 kB│ delete children of entity
8.7 us  1 kB│ remove friends of entity
345 ns  0  B│ simple deletion of entity
world:add()
PASS│ idempotent
PASS│ archetype move
@ -23,7 +21,9 @@
PASS│ should not exist after delete
world:delete()
PASS│ invoke OnRemove hooks
PASS│ remove pair when relationship is deleted
PASS│ invoke OnRemove hook on all components of deleted entity
PASS│ invoke OnRemove hook on relationship if target was deleted
PASS│ delete recycled entity id used as component
PASS│ bug: Empty entity does not respect cleanup policy
PASS│ should allow deleting components
@ -52,6 +52,8 @@
PASS│ multiple iter
PASS│ tag
PASS│ pairs
PASS│ iterate wildcard pairs in cached query
PASS│ iterate wildcard pairs in uncached query
PASS│ query single component
PASS│ query missing component
PASS│ query more than 8 components
@ -110,10 +112,5 @@
PASS│ #2
PASS│ #3
world:delete() invokes OnRemove hook
PASS│ #1
PASS│ #2
PASS│ #3
68/68 test cases passed in 29.621 ms.
69/69 test cases passed in 31.108 ms.
0 fails

View file

@ -5,4 +5,4 @@ license = "MIT"
name = "mark-marks/jecs-nightly"
realm = "shared"
registry = "https://github.com/UpliftGames/wally-index"
version = "0.5.5-nightly.20250413T001101Z"
version = "0.5.5-nightly.20250414T001100Z"