3 ms·
Size does affect performance because of the cache. If the forks are inline, and the cache works in blocks, then you are wasting cache space for code that never
by ars 17y ago
Size does affect performance because of the cache.
If the forks are inline, and the cache works in blocks, then you are wasting cache space for code that never runs.
But considering it's intel I'm sure they thought of that.
- pmjordan 17y agoI suspect it patches a jumptable at initialisation time based on CPU type, and all the code used by one type of CPU is bunched close together. The unused code probably isn't even paged into physical RAM.
- DougBTX 17y agoCertainly. These are performance optimisations, they must measure results.