2 ms·
you're absolutely right. it seems like a huge number of comilers have had 'global optimization' on their todo list, but never got around to it. i think this pa
by convolvatron 7y ago
you're absolutely right. it seems like a huge number of comilers have had 'global optimization' on their todo list, but never got around to it.
i think this paper (cant find a non-paywalled copy) https://dl.acm.org/doi/10.1145/12276.13338 https://dl.acm.org/doi/10.1145/12276.13338 got around 10% just by attempting to align the allocation of the callers and the callee.
maybe memories are large enough now, and the whole proprietary binary-only library business model is gone, that we should really be abandoning the idea of seperate compilation units as the default.