RichoDemus/bevy-console

Command systems run all the time

makspll opened this issue · 4 comments

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 ?

Currently in bevy every system runs every frame

iyes_loopless could give you a way to manage conditional execution of systems

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

Closed in #41