James Y Knight wrote:
All right, then, you could use the top bit of the ob_refcnt field. There's no way to possibly have 2**32 objects on a 32bit system anyhow.
Of this kind, we have several spare bits: there are atleast two bits in the ob_type field, since the type pointer is atleast 4-aligned on all platforms we support.
OTOH, using these bits would break existing code.