python speed

Fredrik Lundh fredrik at pythonware.com
Thu Dec 1 05:13:23 EST 2005


Mike Meyer wrote:

> If you wire everything down, you can always hand-code assembler that
> will be faster than HLL code

but that doesn't mean that your hand-coded assembler will always be faster
than an HLL implementation that addresses the same problem:

http://mail.python.org/pipermail/python-announce-list/2005-November/004519.html

    "Pure Python division is 16x slower than GMP but can actually
    be faster in some instances; for example, dividing a 2,000,000
    digit number by an 800,000 digit number"

</F> 






More information about the Python-list mailing list