3 ms·
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. Bu
by wyldfire 12y ago
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.