4 ms·
Function outlining can be done, if it's not being done, you don't have the right options or it's deciding it's not profitable. (and FWIW, ICC has done this for
by DannyBee 12y ago
Function outlining can be done, if it's not being done, you don't have the right options or it's deciding it's not profitable.
(and FWIW, ICC has done this for at least 8 years)
- repsilat 12y agoWhy put it into a separate function? You could just movie it to the end and jump there and back,saving the call overhead.
- Rusky 12y agoIt makes the function smaller, making it easier to inline. This might matter depending on how easy it is for the compiler to do partial inlining.
- DannyBee 12y agoCall overhead would be nil, since it created the function, and thus it does not have to follow normal argument passing behavior :) In effect, it will just be a bunch of gotos.