2 ms·
That depends if the loop has side effects such that the optimization would be unsound. The actual transformation is dead simple albeit possibly not that profit
by mhh__ 5y ago
That depends if the loop has side effects such that the optimization would be unsound.
The actual transformation is dead simple albeit possibly not that profitable on a modern processor that will be macro and micro fusing to hell and back