Reference counting garbage collection

Marcin 'Qrczak' Kowalczyk qrczak at
Sat Aug 25 10:03:46 CEST 2001

Thu, 23 Aug 2001 23:32:04 -0400, Tim Peters < at> pisze:

>> Would it work for Python to not heap-allocate ints but tag them in
>> the lowest bit, assuming pointers are even?
> No, and for several reasons.  The most obvious one is that Python
> runs on word-addressed machines, where no bits of a pointer are
> abusable.

Making it optional, falling back to current representation in such
case, solves this problem. Any others?

 __("<  Marcin Kowalczyk * qrczak at
  ^^                      SYGNATURA ZASTĘPCZA

More information about the Python-list mailing list