Closed Ukendio closed 8 months ago
Addresses #91 but depends on #90 before this is implementable.
In every case performs better than existing queries. Scales relatively to how many entities you filter from :without
:without
Benchmark file: https://drive.google.com/file/d/1JJbPvVdSCS0kRd6HgMQ2bGEhDmhk1kmy/view?usp=sharing
Passes every unit test currently, but waiting to hear feedback from others to test it in real production code.
These changes caused the system with this query to go from 25μs -> 5μs. There are about 75 entities with Components.A and Components.B:
Components.A
Components.B
world:query(Components.A, Components.B):without(Components.C)
Moved to https://github.com/matter-ecs/matter/pull/4
Addresses #91 but depends on #90 before this is implementable.
In every case performs better than existing queries. Scales relatively to how many entities you filter from
![image](https://github.com/evaera/matter/assets/68000848/2dd12412-c219-4d21-8af0-5b1d235b7d22)
:without
Benchmark file: https://drive.google.com/file/d/1JJbPvVdSCS0kRd6HgMQ2bGEhDmhk1kmy/view?usp=sharing
Passes every unit test currently, but waiting to hear feedback from others to test it in real production code.