3 ms·
> the compiler can't change the layout of your data Sure it can, this is the most promising optimization avenue currently. Not just on the micro level to make
by zurn 14y ago
> the compiler can't change the layout of your data
Sure it can, this is the most promising optimization avenue currently. Not just on the micro level to make data layout more SIMD-friendly, but more cache friendly object layout etc.
Modern systems are primarily memory bound, not ALU bound, so squeezing out clock cycles from computations is pretty far in the dimishing returns territory.
C/C++ have forbidden these kinds of optimizations but it's a the future (tm) in high level languages.