New submission from Serhiy Storchaka: If intern field names in namedtuple, this will speed up the access to them, because names could be compared just by identity in dict lookup. This can also make pickles containing namedtuples more compact.
---------- assignee: rhettinger components: Library (Lib) files: namedtuple_intern_field_names.patch keywords: patch messages: 257238 nosy: rhettinger, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Intern namedtuple field names type: enhancement versions: Python 3.6 Added file: http://bugs.python.org/file41452/namedtuple_intern_field_names.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25981> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com