Re:A Special Kind of Hell: intmax_t in C and C++
by fooker on Sunday December 06, 2020 @03:28AM
(#25322033)
> Last time I looked at the speedup you got from loop optimization it at most a few percent for a very simple loop.
Wow, no. Most loop optimizations make loops significantly faster, even an order of magnitude is not uncommon. Write a few loops and compare the code generated by any compiler with O0 vs O3.
Last time I looked at the speedup you got from loop optimization it at most a few percent for a very simple loop. For a loop that has some meat it'd be noise.