Message301804
| 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 |
<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:18 | serhiy.storchaka | set | recipients:
+ 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:18 | serhiy.storchaka | set | messageid: <1505029578.04.0.604072892164.issue28638@psf.upfronthosting.co.za> |
| 2017年09月10日 07:46:18 | serhiy.storchaka | link | issue28638 messages |
| 2017年09月10日 07:46:17 | serhiy.storchaka | create |
|