On Mon, 17 Jul 2017 14:43:19 +0200
Antoine Pitrou <solip...@pitrou.net> wrote:
> Hello,
> 
> Cost of creating a namedtuple has been identified as a contributor to
> Python startup time.

Imprecise wording: that's the cost of creating a namedtuple *class*,
i.e. anytime someone writes `MyClass = namedtuple('MyClass', ...)`.

Regards

Antoine.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to