Re:Beating the compiler
by wyldfire on Sunday March 22, 2015 @06:29PM
(#9248528)
I got 25x on sum_naive_python() and 6x on sum_native_python() (PyPy 2.7.3 vs CPython 2.7.6 on Intel Arrandale), using timeit to measure time and not cycles.
But IMO it's a nice article anyways. I'd wager the final implementation he comes up with is faster than PyPy.
But IMO it's a nice article anyways. I'd wager the final implementation he comes up with is faster than PyPy.