Compare commits

...

4 commits

Author SHA1 Message Date
Clown
e770b82c9d
Merge 96bed9bd7e into 59df0bf2a3 2025-07-19 09:01:56 -04:00
Ukendio
59df0bf2a3 Bump
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-07-19 14:30:48 +02:00
Ukendio
3e995c9d7d Fix iterator not returning correct column for 8+ overloads 2025-07-19 14:29:36 +02:00
YetAnotherClown
96bed9bd7e Empty Commit 2025-02-25 11:28:04 -05:00
4 changed files with 5 additions and 4 deletions

View file

@ -1428,7 +1428,7 @@ local function query_iter_init(query: QueryInner): () -> (number, ...any)
i -= 1
for i = 9, ids_len do
output[i - 8] = columns_map[i][row]
output[i - 8] = columns_map[ids[i]][row]
end
return entity, a[row], b[row], c[row], d[row], e[row], f[row], g[row], h[row], unpack(output)
@ -1903,7 +1903,7 @@ local function query_cached(query: QueryInner)
i -= 1
for i = 9, ids_len do
output[i - 8] = columns_map[i][row]
output[i - 8] = columns_map[ids[i]][row]
end
return entity, a[row], b[row], c[row], d[row], e[row], f[row], g[row], unpack(output)

View file

@ -1,6 +1,6 @@
{
"name": "@rbxts/jecs",
"version": "0.9.0-rc.3",
"version": "0.9.0-rc.4",
"description": "Stupidly fast Entity Component System",
"main": "jecs.luau",
"repository": {

View file

@ -1536,6 +1536,7 @@ TEST("world:query()", function()
for i = 1, 9 do
local id = world:component()
world:component() -- make the components sparsely interleaved
components[i] = id
end
local e1 = world:entity()

View file

@ -1,6 +1,6 @@
[package]
name = "ukendio/jecs"
version = "0.9.0-rc.3"
version = "0.9.0-rc.4"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
license = "MIT"