The Event Loop You Think You Know
Microtasks, rendering opportunities and starvation — what the loop actually does between your callbacks, in the browser and in Node.
2 posts
Microtasks, rendering opportunities and starvation — what the loop actually does between your callbacks, in the browser and in Node.
Two functions that look identical can run at very different speeds. The difference is usually shapes, inline caches, and a deoptimization you never saw.