Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

I propose an opposite change -- take data known at compile time (name, qualname 
and annotations). It will make the code for creating new function smaller and 
faster. It is what we want to achieve -- reducing import time, but additionally 
it will reduce time of creating local functions.

Arguments for saving few bytes do not look convincing to me. It is why we use 
caches -- memory is cheaper than the CPU time. And in most cases there is no 
any saving.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36521>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to