Allow for associating multiple queries with single system.

Open
SanderMertens avatar @SanderMertens
C C
Created about 4 years ago
Updated 23 days ago
2 comments
6,883

Describe the problem you are trying to solve. In some scenarios it might be useful to iterate multiple queries in a single system. Currently an application can store queries in a component and access those from a system, but this has as downside that the scheduler is not aware of the components read/written in those queries.

Describe the solution you'd like Add builtin component that allows for storing multiple queries that is interpreted by scheduler.

Comments (1)

pfeodrippe avatar
@pfeodrippe over 1 year ago

First of all, this is a great project, man, thank you for giving us that! I'm working on an small Clojure game (just me, hopefully will OSS it when things are less messy) and it has been awesome to see how fast things get using Flecs (a query of 1200000 of different small entities takes just 26ms, even with the JNR overhead AND with conversion from data to a clojure map AND while appending it to a vector)!

And this multiple queries feature would indeed be great \o But yes, I see that it has lots of (efficient) workarounds, so we are good \o/

Bounty Available

Quick Select

Custom Amount

$
Fund this bounty to attract developers and speed up resolution. Minimum amount is $0.50.

Fund Requests

No fund requests yet. Be the first to request funding.

Please sign in to request funds for this bounty.

Paid Out

No payments have been made yet. Start working on this bounty to receive your payout

Information

Open
Current status
#326
Issue number