I have some code that looks like this:
for item in list:
<bunch of slow python code, depending only on item>
I want to speed this up by parallelizing the loop. Normally the multiprocessing
module would be perfect for this (see the answers to this question), but it was added in python 2.6 and I'm stuck using 2.4.
What's the best way to parallelize a python loop in python 2.4?