[Python-Dev] reference leaks, del, and annotations (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 5 02:11:14 CEST 2006


James Y Knight wrote:

All right, then, you could use the top bit of the obrefcnt field. There's no way to possibly have 2**32 objects on a 32bit system anyhow.

That would slow down every Py_INCREF and Py_DECREF, which would need to be careful to exclude the top bit from their operations.

-- Greg



More information about the Python-Dev mailing list