Worth checking out pysco as well <a href="http://psyco.sourceforge.net/" rel="nofollow">http://psyco.sourceforge.net/</a><p>Though in practice I find that if performance really matters using numpy or writing a C extension module usually works out the best.