New submission from 0x666 vasiliauskas.agn...@gmail.com:
I think something wrong with implementation of multiprocessing module.
I`ve run this very simple test on my machine (core 2, vista):
import multiprocessing as mul
from time import time
def f(x):
return x*x
if __name__ == '__main__
0x666 vasiliauskas.agn...@gmail.com added the comment:
Thanks for quick response and for informative answers, especially
thanks to Antoine Pitrou/Amaury Forgeot.
p.s.
By seting bigger range - range(15) and elements = 1000, I was able to
get speed-up factor up to 1.8. Wow, I`m amazed :-)
Good