I wonder if there is anything that can really be done, outside of something like Cython.
I compile my cli tools with nuitka [0], the resulting binaries take half the time to start. I find the difference quite notable.
[0]: https://github.com/Nuitka/Nuitka
But startup time increases an order of magnitude once you start importing 'requests' and other common packages.
Perhaps an option to turn imports lazy...
I compile my cli tools with nuitka [0], the resulting binaries take half the time to start. I find the difference quite notable.
[0]: https://github.com/Nuitka/Nuitka