3 ms·
I strongly doubt that endless fields of cold/dead code are zero-cost, without profile guidance and link-time optimization.
by jeffbee 4y ago
I strongly doubt that endless fields of cold/dead code are zero-cost, without profile guidance and link-time optimization.
- morelisp 4y agoOne of my favorite go-to examples for this is "Producing Wrong Data Without Doing Anything Obviously Wrong!" 4.2 where they demonstrate a reproducible >30% performance difference just by "misaligning" stacks with an unused environment variable. That's in the context of unexpected measurement bias, but you won't convince me piles of cold code can't affect memory layout less than that.
- vlovich123 4y agoI think we’re in agreement. Did you misread what I wrote or did I say/imply the opposite somehow?