-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Advanced System Scheduler #2
Conversation
Initial thoughts:
In conclusion, I would like to gather some experience using |
I can see your point, still i think that ordering is important. But I think handling this with sets is also fine. The use-cases I am thinking this for are both doable in sets:
|
Also, if you don't want the dependency on |
Uhh... #5 will be interesting. When we do this we need some sort of event sorting rather than system sorting for events when I understood your thoughts. I already tried to implement such thing for a UI lib but wasn't so happy with it. |
#4 on the other hand is fairly easy to implement with this |
(Discussed on Discord. Closing for now) |
This PR introduces a graph-based scheduler for events which can be hinted for order with
Important Change
Systems don't run on insert order anymore!
Dependencies
petgraph
with featuresgraphmap
and without defaultsFuture notes
This still isn't 100% flexible for modular use, because the
SystemId
is still required. We can't change this to theTypeId
of a system because of the flexibility to add multiple of the sameTypeId
-erased systems.