Hacker News new | past | comments | ask | show | jobs | submit login

> If you're spamming hundreds of processes from a looping shell script,

You should absorb the loop into a single python process that instead calls the original script as a library...




Mercurial has another approach. They have something called command server launched once and communicati g over socket if you need to invoke it thousands of times. If start up time is a problem with python your biggest problem is start up time with python, not the difference between 2 and 3.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: