Message403049
| Author | serhiy.storchaka |
|---|---|
| Recipients | Guido.van.Rossum, Mark.Shannon, gvanrossum, iritkatriel, methane, rhettinger, serhiy.storchaka, terry.reedy |
| Date | 2021-10-02.09:54:52 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1633168493.0.0.11633444699.issue36521@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2021-10-02 09:54:53 | serhiy.storchaka | set | recipients: + serhiy.storchaka, gvanrossum, rhettinger, terry.reedy, methane, Mark.Shannon, Guido.van.Rossum, iritkatriel |
| 2021-10-02 09:54:53 | serhiy.storchaka | set | messageid: <1633168493.0.0.11633444699.issue36521@roundup.psfhosted.org> |
| 2021-10-02 09:54:52 | serhiy.storchaka | link | issue36521 messages |
| 2021-10-02 09:54:52 | serhiy.storchaka | create | |