Author serhiy.storchaka
Recipients Jelle Zijlstra, 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, Jelle Zijlstra, 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