LARGE numbers

Scott David Daniels scott.daniels at acm.org
Fri Nov 11 11:35:00 EST 2005


Paul Rubin wrote:
> aleax at mail.comcast.net (Alex Martelli) writes:
> 
> For numbers of this size, won't gmpy use FFT-based multiplication?
> That's potentially orders of magnitude faster than ordinary n**2
> multiplication.

But Python is no slouch with its use of Karatsuba multiplication.
(in other words, Python is not N**2 for large numbers).

--Scott David Daniels
scott.daniels at acm.org



More information about the Python-list mailing list