Joe Jevnik added the comment:
I am currently on a different machine so these numbers are not relative to the
others posted earlier.
* default
./python -m timeit -s "from collections import namedtuple as n;a = n('n', 'a b
c')(1, 2, 3)" "a.a"
10000000 loops, best of 3: 0.0699 usec per loop
* patch
./python -m timeit -s "from collections import namedtuple as n;a = n('n', 'a b
c')(1, 2, 3)" "a.a"
10000000 loops, best of 3: 0.0468 usec per loop
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue23910>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com