Author serhiy.storchaka
Recipients Ethan Smith, Jelle Zijlstra, eric.smith, giampaolo.rodola, gvanrossum, inada.naoki, josh.r, lazka, llllllllll, 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 <1505029578.04.0.604072892164.issue28638@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2017-09-10 07:46:18serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, rhettinger, ncoghlan, pitrou, vstinner, eric.smith, giampaolo.rodola, inada.naoki, josh.r, llllllllll, xiang.zhang, Jelle Zijlstra, lazka, Ethan Smith
2017-09-10 07:46:18serhiy.storchakasetmessageid: <1505029578.04.0.604072892164.issue28638@psf.upfronthosting.co.za>
2017-09-10 07:46:18serhiy.storchakalinkissue28638 messages
2017-09-10 07:46:17serhiy.storchakacreate