Re:Python startup time: milliseconds matter
by area_man on Wednesday May 02, 2018 @09:33PM
(#16982667)
Truly solving this problem is difficult, but you can hack around it with a zygote process to remove a substantial amount of overhead, in exchange for RAM. While this is generally more of win for server processes, you can see it applied to a CLI proof of concept:
https://github.com/msolo/pyzy