From 8e71312ea368969f294e7784a8d6a7e41b3d5e8f Mon Sep 17 00:00:00 2001 From: marked Date: Sat, 8 Mar 2025 01:11:16 +0100 Subject: [PATCH] Sync to released Jecs 0.5.5-nightly.20250308T001059Z (#14) Reviewed-on: https://git.devmarked.win/marked/jecs-nightly/pulls/14 --- jecs/build.txt | 4 ++-- jecs/jecs.luau | 24 ------------------------ jecs/pesde.toml | 2 +- jecs/test.txt | 2 +- jecs/test_fulllog.txt | 8 ++++---- jecs/wally.toml | 2 +- 6 files changed, 9 insertions(+), 33 deletions(-) diff --git a/jecs/build.txt b/jecs/build.txt index 1f74692..2d46148 100644 --- a/jecs/build.txt +++ b/jecs/build.txt @@ -1,2 +1,2 @@ -modified = ["README.md", "LICENSE", ".luaurc", "CHANGELOG.md", "jecs.luau"] -version = "0.5.5-nightly.20250302T183456Z" +modified = ["jecs.luau"] +version = "0.5.5-nightly.20250308T001059Z" diff --git a/jecs/jecs.luau b/jecs/jecs.luau index e53d366..26baf7f 100644 --- a/jecs/jecs.luau +++ b/jecs/jecs.luau @@ -172,9 +172,6 @@ end local function entity_index_try_get_any(entity_index: EntityIndex, entity: number): Record? local r = entity_index.sparse_array[ECS_ENTITY_T_LO(entity)] - if not r then - return nil - end if not r or r.dense == 0 then return nil @@ -1224,27 +1221,6 @@ end local function NOOP() end -local function ARM(query, ...) - return query -end - -local EMPTY_LIST = {} -local EMPTY_QUERY = { - __iter = function() - return NOOP - end, - iter = function() - return NOOP - end, - with = ARM, - without = ARM, - archetypes = function() - return EMPTY_LIST - end, -} - -setmetatable(EMPTY_QUERY, EMPTY_QUERY) - type QueryInner = { compatible_archetypes: { Archetype }, ids: { i53 }, diff --git a/jecs/pesde.toml b/jecs/pesde.toml index aaf953e..0e62d4c 100644 --- a/jecs/pesde.toml +++ b/jecs/pesde.toml @@ -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.20250302T183456Z" +version = "0.5.5-nightly.20250308T001059Z" [indices] default = "https://github.com/pesde-pkg/index" diff --git a/jecs/test.txt b/jecs/test.txt index 7c96003..e74e1e3 100644 --- a/jecs/test.txt +++ b/jecs/test.txt @@ -1,2 +1,2 @@ passed = true -timestamp = "20250307T001103Z" +timestamp = "20250308T001101Z" diff --git a/jecs/test_fulllog.txt b/jecs/test_fulllog.txt index febf77d..8e2ddf7 100644 --- a/jecs/test_fulllog.txt +++ b/jecs/test_fulllog.txt @@ -1,6 +1,6 @@ -7.8 us  3 kB│ delete children of entity -9.1 us  2 kB│ remove friends of entity -325 ns  0  B│ simple deletion of entity +8.5 us  2 kB│ delete children of entity +9.3 us  1 kB│ remove friends of entity +333 ns  0  B│ simple deletion of entity removing archetype PASS│  @@ -110,5 +110,5 @@ removing PASS│ #2 PASS│ #3 -68/68 test cases passed in 31.415 ms. +68/68 test cases passed in 31.220 ms. 0 fails diff --git a/jecs/wally.toml b/jecs/wally.toml index 0c3963d..02dad8b 100644 --- a/jecs/wally.toml +++ b/jecs/wally.toml @@ -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.20250302T183456Z" +version = "0.5.5-nightly.20250308T001059Z"