[Python-checkins] r51492 - in python/branches/int_unification: Include/boolobject.h Include/intobject.h Include/longobject.h Modules/_sre.c Objects/abstract.c Objects/boolobject.c Objects/exceptions.c Objects/intobject.c Objects/listobject.c Obje

Guido van Rossum guido at python.org
Wed Aug 23 16:37:52 CEST 2006


On 8/23/06, M.-A. Lemburg <mal at egenix.com> wrote:
> PyInts already have all the optimizations you have on your agenda for
> PyLongs, so I wonder why you're trying to duplicate all this
> work, instead of building upon it and adding the PyLong features
> to PyInts. Maybe I'm missing something, but this looks like a much
> more natural approach to me.

Since the PyLong implementation is nearly three times as large as the
PyInt implementation, adding long functionality to ints would be the
backwards thing to do.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-checkins mailing list