Message240565
| Author | llllllllll |
|---|---|
| Recipients | barry, eric.smith, eric.snow, llllllllll, rhettinger |
| Date | 2015-04-12.18:48:03 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1428864484.26.0.109574399384.issue23910@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
# 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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2015-04-12 18:48:04 | llllllllll | set | recipients: + llllllllll, barry, rhettinger, eric.smith, eric.snow |
| 2015-04-12 18:48:04 | llllllllll | set | messageid: <1428864484.26.0.109574399384.issue23910@psf.upfronthosting.co.za> |
| 2015-04-12 18:48:04 | llllllllll | link | issue23910 messages |
| 2015-04-12 18:48:04 | llllllllll | create | |