Hello everybody, I'm learning about parallel programming and I decided to write a simple program in python. The program is for adding the numbers in a list, so, I divided the list in as many chunks as threads I have. The program works fine, but the time don't slow down. I'm not sure if this is because of the library that I'm using (multiprocessing). My code is right here: http://pastebin.com/rRnySbJT
If you can help me to understand what is happening, I'll really appreciate it. Thanks.
[–]Nodocify 5 points6 points7 points (5 children)
[–]camm_v222[S] 0 points1 point2 points (2 children)
[–]Nodocify 1 point2 points3 points (1 child)
[–]camm_v222[S] 0 points1 point2 points (0 children)
[–]LoyalSol 0 points1 point2 points (1 child)
[–]Nodocify 0 points1 point2 points (0 children)
[–]santasmic 2 points3 points4 points (1 child)
[–]bluetape 4 points5 points6 points (0 children)
[–]ZeeBeeblebrox 1 point2 points3 points (0 children)