Python and GMP.

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Tue Apr 21 13:04:12 CEST 2009


casevh:
> Testing 2 digits. This primarily measures the overhead for call GMP
> via an extension module.
> ...

Thank you for adding some actual data to the whole discussion :-)
If you perform similar benchmarks with Bigints of Java you will see
how much slower they are compared to the Python ones.


Mark Dickinson:
>Apart from that, I'm not sure there's much snot left to be optimized out, as they say...<

Using inline ASM in Python sources isn't an option.

Bye,
bearophile



More information about the Python-list mailing list