analkumar2/parallelize-forloops
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Update: Does not work for python>3.12 The aim here is to parallelize any for loop. The primary fucntion you want ot use is Multiprocessthis_appendsave from the goMultiprocessing.py script. testMP.py gives a simple example. Do note that multiprocessing can be slower than 'for loops' if the task doesn't require enough CPU resources.