diff --git a/benches/query.bench.lua b/benches/query.bench.lua index ad31315..982fe34 100644 --- a/benches/query.bench.lua +++ b/benches/query.bench.lua @@ -188,23 +188,22 @@ print( ..yellow("Total Archetypes: "..numberOfArchetypes) ) -local q = ecs:query(D4, D2, D3, D6) - return { ParameterGenerator = function() return end, Functions = { - Mirror = function() + Mater = function() local matched = 0 - for entityId, firstComponent in mcs:query(E2, E3, E4, E1) do + for entityId, firstComponent in newWorld:query(A2, A3, A4, A1) do matched += 1 end end, + Jecs = function() local matched = 0 - for entityId, firstComponent in ecs:query(E2, E3, E4, E1) do + for entityId, firstComponent in ecs:query(D2, D3, D4, D1) do matched += 1 end diff --git a/lib/init.spec.lua b/lib/init.spec.lua index f2a40e8..de2ff9f 100644 --- a/lib/init.spec.lua +++ b/lib/init.spec.lua @@ -76,12 +76,9 @@ for combination in archetypes do and combination:find("4") and combination:find("6") then - print(combination) arch += 1 end end -print("TEST", hm, arch) - return function() describe("World", function() it("should add component", function()