3 ms·
Python startup time can be pretty abysmal too if you have a lot of imports.
by packetlost 7mo ago
Python startup time can be pretty abysmal too if you have a lot of imports.
- ptx 7mo agoThis is addressed by PEP 810 (explicit lazy imports) in Python 3.15 (currently in alpha): https://peps.python.org/pep-0810/ https://peps.python.org/pep-0810/
- packetlost 7mo agoYeah, but it requires code changes to matter