Hacker News new | ask | show | jobs
by Luyt 5999 days ago
If you really want to speed up your program, you have to parallelize and distribute the workload over multiple cores. Python has a module in the standard library for this, it's called 'multiprocessing'. See http://docs.python.org/library/multiprocessing.html
1 comments

It won't help if you have to do stuff over a single shared data structure.
Well you can of course. It is just a pain to do it.
That's a good point. I rarely had to do it and, when I could, I opted to distribute the data.

Still, Python needs better threading.