Georg Brandl <ge...@python.org> added the comment: > My first thought is "Why is the reference counter stored with the object > itself?"
Because if you move the reference counter out of the object, you a) add another indirection and b) depending on how you implement it require a certain amount of memory more per object. It's far from obvious that the possible benefits are worth this, and needs to be tested carefully, which nobody has done yet. ---------- nosy: +georg.brandl _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9942> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com