4 ms·
I dunno, depending on your architecture you're looking at 200-400 cycles per cache miss, that's a lot of function calls.
by vvanders 11y ago
I dunno, depending on your architecture you're looking at 200-400 cycles per cache miss, that's a lot of function calls.
- Someone 11y agoMany function calls are a cache miss. That doesn't matter much if each function call accesses thousands of memory locations, but if you have many small functions such as calls to (un)box objects or property accessors, or small closures you pass to a function, getting rid of the function calls by inlining code makes a huge difference.