[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
- Previous message: [Python-Dev] reference leaks, __del__, and annotations
- Next message: [Python-Dev] reference leaks, __del__, and annotations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] reference leaks, __del__, and annotations
- Next message: [Python-Dev] reference leaks, __del__, and annotations
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]