Comment Comment by WalterBright > But the LESS and SWAP operations may or may not get inlined.True. But modern inliners are pretty good, and if they can't inline it due to its complexity, it's pretty unlikely it'll be faster.Note the performance comparison in the article.Low level hand-optimizations paid off handsomely in the 1980s, but are usually best left to the compiler's optimizer these days. parent WalterBright 3 years ago
True. But modern inliners are pretty good, and if they can't inline it due to its complexity, it's pretty unlikely it'll be faster.
Note the performance comparison in the article.
Low level hand-optimizations paid off handsomely in the 1980s, but are usually best left to the compiler's optimizer these days.