Message395512
It is possible to implement NewType to return a class rather than a function as it does currently. However, the class version uses substantially more memory (1072 bytes vs 144 bytes with sys.getsizeof) and NewType is supposed to have almost no runtime overhead. |
|
Date |
User |
Action |
Args |
2021-06-10 07:36:45 | domdfcoding | set | recipients:
+ domdfcoding, joperez |
2021-06-10 07:36:45 | domdfcoding | set | messageid: <1623310605.7.0.884855622093.issue44353@roundup.psfhosted.org> |
2021-06-10 07:36:45 | domdfcoding | link | issue44353 messages |
2021-06-10 07:36:45 | domdfcoding | create | |
|