Tim> This doesn't actually give us a very useful indication of potential Tim> memory savings. What I think would be more useful is tracking the Tim> maximum simultaneous count of each value i.e. what the maximum Tim> refcount would have been if they were shared.
Most definitely. I just posted what I came up with in about two minutes. I'll add some code to track the high water mark as well and report back. Skip _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com