I benchmarked --help on a CLI with the ref implementation for PEP 810 (lazy imports). Because my CLI moved imports into functions just before they get used, I got a speedup of x1.3. Then I moved all the imports to the top like normal, and got a speedup of x2.9! hugovk.dev/blog/2025/la... #Python
7 reposts18 likes