What is happening? Why these simple codes slow down Julia 30 times?

I suspect that you will see different timings if you put your tests inside functions or, if you stay in the global scope, use const gg = mm(10).

4 Likes