News for hackers. Stuff that matters.
Re:Why Registers Are Fast and RAM Is Slow by arohner on Friday October 11, 2013 @12:38PM (#6534199)
Depends on the app, and your use case, and the CPU, etc. YMMV.

For a long time though, the Linux kernel has been compiled to optimize code-size rather than 'performance' (according to GCC). Why? Because the kernel gets involved in every syscall the OS makes, so the kernel code gets paged in and out very frequently. Loading a little less code from RAM means everything goes faster.

There are no comments on this comment yet.