[issue28638] Optimize namedtuple creation

Joe Jevnik report at bugs.python.org
Wed Jul 19 00:41:07 EDT 2017


Joe Jevnik added the comment:

I added a benchmark suite (using Victor's perf utility) to cnamedtuple. The results are here: https://github.com/llllllllll/cnamedtuple#benchmarks

To summarize: type creation is much faster; instance creation and named attribute access are a bit faster.

----------
nosy: +llllllllll

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28638>
_______________________________________


More information about the Python-bugs-list mailing list