Command systems run all the time
makspll opened this issue · 4 comments
makspll commented
Currently the system provided to add_console_command
run every frame, this seems inefficient to me,
would it be possible instead to run these systems only when the command event fires instead ?
shmelrad commented
Currently in bevy every system runs every frame
brandon-reinhart commented
iyes_loopless could give you a way to manage conditional execution of systems
makspll commented
I was thinking some sort of run condition which checks if there are outstanding console events, before running the possibly many console systems would be preferable, albeit it would be a small performance improvement