Right now Lwt_engine.iter is called on every worker not taking into account if we have pending promises or not. That's possible room for improvement. We could mark deferred workers and run Lwt_engine.iter only on them. Everything depends on the benchmark we create to decide if it's fast enough.
My attempt to resolve #8
Right now
Lwt_engine.iter
is called on every worker not taking into account if we have pending promises or not. That's possible room for improvement. We could mark deferred workers and runLwt_engine.iter
only on them. Everything depends on the benchmark we create to decide if it's fast enough.Thanks, @ostera for all the help!