Python and GMP.

alessiogiovanni.baroni at gmail.com alessiogiovanni.baroni at gmail.com
Tue Apr 21 03:57:35 EDT 2009


On 21 Apr, 09:11, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> casevh <cas... at gmail.com> writes:
> > Python 3.1 is significantly faster than Python 2.x on 64-bit
> > platforms. The following times are for multiplication with 2, 30 and
> > 300 decimal digits.
>
> Could you test pow(a,b,c) where a,b,c are each 300 decimal digits?
> This is an important operation in cryptography, that GMP is carefully
> optimized for.  Thanks.

Ok, thanks for your answers. I understand the problems of licensing,
but
we could to learn from GMP's source code to improve the Python's int
implementation,
mainly because, GMP is very fast. We could violate the GPL?



More information about the Python-list mailing list