integer-simple by default

Greg Fitzgerald garious at gmail.com
Mon Feb 22 15:15:41 EST 2010


> As another data point, Python has also re-invented the GMP
> wheel, likely for the same licensing reasons. They have
> been using a simple implementation of Karatsuba
> multiplication for years. I have never heard of anyone
> complaining about it

Thanks for the data point.

Looks like they swapped out their integer implementation for Python3:
http://gmplib.org/list-archives/gmp-discuss/2008-November/003434.html

Here's the code from January 30, 2010:
http://svn.python.org/view/python/trunk/Objects/longobject.c?view=markup

More data points:
http://en.wikipedia.org/wiki/Arbitrary-precision_arithmetic

-Greg


More information about the Glasgow-haskell-users mailing list