[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
M.-A. Lemburg
mal at egenix.com
Wed Aug 23 17:13:16 CEST 2006
martin at v.loewis.de wrote:
> 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,
Good.
Looking at the checkin, it seemed to me that you were
trying to use the long digit array as basis for everything.
> except that the special case is the small
> integers, not the large ones.
No need to fight over that detail :-)
> 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.
None, except less work: you now move/rename everything to the PyLong
implementation, only to then rename everything back to PyInt
later on.
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Aug 23 2006)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
More information about the Python-checkins
mailing list