I did some tests to check how much speed i can gain with the .NET threading librarys in Ironpython.
The results were far from good:
long list with some Vector3d Multiplication
threading sequence in list: 12121212 same list access: read + write vectorTask: 1 threads 5.580 sec vectorTask: 2 threads 3.890 sec vectorTask: 4 threads 3.042 sec same list access: read only vectorTask: 1 threads 4.420 sec vectorTask: 2 threads 2.569 sec vectorTask: 4 threads 1.879 sec 2 lists: one read, one write vectorTask: 1 threads 5.650 sec vectorTask: 2 threads 4.270 sec vectorTask: 4 threads 3.238 sec
Now i would like to use the multiprocessing module, as stackoverflow and others suggest, and came to this site:
but i have no idea what version of ironpython is running in rhino, and if this would work at all?