4 ms·
This is a very clever solution. To be clear, most users of Python don't care about startup time to that degree, but for some applications shaving off that 0.1 s
by cool-RR 5y ago
This is a very clever solution. To be clear, most users of Python don't care about startup time to that degree, but for some applications shaving off that 0.1 seconds would be meaningful.
However, Python's dataclasses have great features and I wouldn't want to give them up. What would be ideal is a solution for caching the generated code of dataclasses.