10 thousand times faster Swift
Maxim Zaks
38913

Modern optimizing compilers are amazing and can do much more than Loop Invariant Code Motion. Take this example (it’s the one I just happened to have a quick link to) https://godbolt.org/g/eqeWzu . That is completely evaluated by the compiler at compile time and just *goes away*

Like what you read? Give Jason Turner a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.