[issue33124] Lazy execution of module bytecode

Serhiy Storchaka report at bugs.python.org
Tue Mar 27 05:03:59 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Function definitions usually are cheap, as well as global constants definitions (unless they use complex comprehensions or call heavy functions for initialization). Creating a class is an order or more slower than creating a function. Creating enums and namedtuples is an order or two slower than creating a plain class.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33124>
_______________________________________


More information about the Python-bugs-list mailing list