Hi,

Le Monday 03 November 2008 18:56:37 Paul Miller, vous avez écrit :
> I've read some of the past discussion about including GMP into the
> python core and understand the reasons for not doing so.

Please, check this issue: http://bugs.python.org/issue1814

I patched Python3 to use GMP because I thaugh that GMP is much faster than 
Python for integer computation. The "problem" is that GMP target are integers 
much bigger than 10**100. As I remember, GMP has a special hack for very 
small integer: integer which can be stored in one CPU word, but it's not 
enough to speed up Python.

With my last patch, with GMP, Python is 2% *slower*.

My patch can be improved, but I expected +20% to +100% to no -2% :-/

And there is also the license issue...

-- 
Victor Stinner aka haypo
http://www.haypocalc.com/blog/
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to