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

martin at v.loewis.de martin at v.loewis.de
Wed Aug 23 16:52:26 CEST 2006


Zitat von "M.-A. Lemburg" <mal at egenix.com>:

> I was actually thinking of adding the PyLong implementation
> as special case to PyInts, ie. appending the digits array
> to the PyInt struct and making PyInts VarObjects. A size 0
> PyInt would then be the classical PyInt, a size n (n>0)
> PyInt would work as a classical PyLong.

That's my plan, except that the special case is the small
integers, not the large ones. Before responding that you
would like to see it the other way 'round, please analyze
what the ACTUAL difference between your approach and mine
would be.

Regards,
Martin





More information about the Python-checkins mailing list