The execution time with the old optimizer is approximately 5 cycles in the best case (this assumes out-of-order execution and perfect branch prediction) and at least 10 cycles in the worst case. With the new optimizer, execution time is always 2 cycles. Obviously, there are also important savings in code size. Very interesting results can be achieved by combining multiple smaller transformations.
![Introducing a new, advanced Visual C++ code optimizer - C++ Team Blog](https://cdn-ak-scissors.b.st-hatena.com/image/square/b089c929ffa6150b5387b68a5ba87df1a0be03e1/height=288;version=1;width=512/https%3A%2F%2Fdevblogs.microsoft.com%2Fcppblog%2Fwp-content%2Fuploads%2Fsites%2F9%2F2018%2F08%2Fcplusplusfeature.png)