消息 [240565]
# Original version / new python implementation
./python -m timeit -s "from collections import namedtuple;a = namedtuple('a', 'a b c')(1, 2, 3)" "a.a"
10000000 loops, best of 3: 0.07 usec per loop
# C implementation
./python -m timeit -s "from collections import namedtuple;a = namedtuple('a', 'a b c')(1, 2, 3)" "a.a"
10000000 loops, best of 3: 0.028 usec per loop
The fallback is the same implementation that is currently used so this should have no affect on pypi. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2015-04-12 18:48:04 | llllllllll | 修改 | recipients:
+ llllllllll, barry, rhettinger, eric.smith, eric.snow |
| 2015-04-12 18:48:04 | llllllllll | 修改 | messageid: <1428864484.26.0.109574399384.issue23910@psf.upfronthosting.co.za> |
| 2015-04-12 18:48:04 | llllllllll | 链接 | issue23910 messages |
| 2015-04-12 18:48:04 | llllllllll | 创建 | |
|