Uellue's Blog

Numpy makes your python math 10x faster

As an exercise in parallel number crunching with python and numpy, I wrote a program for the computer language benchmark game. It is more than 10x faster than the python runner-up without numpy and plays already in the league of compiled languages. The speedup comes solely from the high-level vector math functions of numpy.

As a remark: The program was disqualified from the competition but is shown anyway. I don't exactly understand why. Well, I also don't really feel like asking the admin Isaac Gouy, as he seems to be a bit tense about the subject.