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 serhiy.storchaka
Recipients JelleZijlstra, eric.smith, ethan smith, giampaolo.rodola, gvanrossum, josh.r, lazka, llllllllll, methane, ncoghlan, pitrou, rhettinger, serhiy.storchaka, vstinner, xiang.zhang
Date 2017-09-10.07:46:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Microbenchmark for caching docstrings:

$ ./python -m perf timeit -s "from collections import namedtuple; names = ['field%d' % i for i in range(1000)]" -- "namedtuple('A', names)"

With sys.intern(): Mean +- std dev: 3.57 ms +- 0.05 ms
With Python-level caching: Mean +- std dev: 3.25 ms +- 0.05 ms
Date User Action Args
2017-09-10 07:46:18serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, rhettinger, ncoghlan, pitrou, vstinner, eric.smith, giampaolo.rodola, methane, josh.r, llllllllll, xiang.zhang, JelleZijlstra, lazka, ethan smith
2017-09-10 07:46:18serhiy.storchakasetmessageid: <>
2017-09-10 07:46:18serhiy.storchakalinkissue28638 messages
2017-09-10 07:46:17serhiy.storchakacreate