This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients methane, rhettinger, serhiy.storchaka, vstinner
Date 2017-01-23.13:00:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485176459.55.0.129370948037.issue29336@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks.  Your patch reduced memory consumption by 2%,
and number of tuples by 15%.

$ cat invtuple.py
import app
import sys
import traceback
import tracemalloc

print(tracemalloc.get_traced_memory())
allobj = sys.getobjects(0, tuple)
print(len(allobj))

$ PYTHONTRACEMALLOC=1 venv/bin/python invtuple.py
(51491189, 51506311)
87143

$ PYTHONTRACEMALLOC=1 venv-mt/bin/python  invtuple.py
(50551519, 50566641)
74308
History
Date User Action Args
2017-01-23 13:00:59methanesetrecipients: + methane, rhettinger, vstinner, serhiy.storchaka
2017-01-23 13:00:59methanesetmessageid: <1485176459.55.0.129370948037.issue29336@psf.upfronthosting.co.za>
2017-01-23 13:00:59methanelinkissue29336 messages
2017-01-23 13:00:59methanecreate