DelSkayn / rquickjs

High level bindings to the quickjs javascript engine
MIT License
431 stars 58 forks source link

Introduce new more efficient scheduler #286

Closed DelSkayn closed 2 months ago

DelSkayn commented 3 months ago

Introduces a new scheduler for futures that is more efficient.

Unlike the old scheduler which polls every future when being woken up, this scheduler only polls the futures which where actually awoken, preventing quadratic complexity for polling futures.