3 ms·
Plenty of CPUs out there with cache sizes smaller than that, or other things running on the machine that would also like to use the cache.
by slyall 12y ago
Plenty of CPUs out there with cache sizes smaller than that, or other things running on the machine that would also like to use the cache.
- 4ad 12y agoThe size of the binary is completely irrelevant when considering if the code fits in the CPU cache. What's important is the size of code that actually executes. Go binaries have huge DWARF tables, and a lot of the code is dead code. The code that actually executes is not bloated. It's not the most efficient code in the world, because the compilers don't have an optimizer as advanced as gcc's, but it's not unreasonably large.