verlok / yieldy-for-loopLinks

A tiny utility for iterating over large arrays (or any iterable) in a non-blocking, “yieldy” way, inspired by the article “Breaking up with long tasks, or how I learned to group loops and wield the yield” (PerfPlanet 2024). It helps avoid freezing the main thread by periodically yielding control back to the browser.
15Updated 10 months ago

Alternatives and similar repositories for yieldy-for-loop

Users that are interested in yieldy-for-loop are comparing it to the libraries listed below

Sorting: