Compare commits

...

4 commits

Author SHA1 Message Date
Ajay
54fe7298e9
Merge 918231a1ad into 1bfcba7422 2025-02-27 20:58:49 -05:00
Ukendio
1bfcba7422 Optimized queries for more than 4 components
Some checks failed
analysis / Run Luau Analyze (push) Has been cancelled
deploy-docs / build (push) Has been cancelled
publish-npm / publish (push) Has been cancelled
unit-testing / Run Luau Tests (push) Has been cancelled
deploy-docs / Deploy (push) Has been cancelled
2025-02-26 17:26:11 +01:00
Ukendio
c9b07433aa Reduce memory usage for archetype records 2025-02-26 17:04:17 +01:00
aybanda
918231a1ad Start work on #50 2025-02-19 16:36:07 +05:30
2 changed files with 445 additions and 261 deletions

704
jecs.luau

File diff suppressed because it is too large Load diff

View file

@ -1262,7 +1262,7 @@ TEST("world:target", function()
local records = debug_world_inspect(world).records(e)
CHECK(jecs.pair_first(world, pair(B, C)) == B)
CHECK(records[pair(B, C)].column > records[pair(A, E)].column)
CHECK(records[pair(B, C)] > records[pair(A, E)])
CHECK(world:target(e, A, 0) == B)
CHECK(world:target(e, A, 1) == C)
CHECK(world:target(e, A, 2) == D)