|
|
|
|
|
by uniqueuid
1037 days ago
|
|
It's in the readme of the github project. > In short, the main reasons why MPIRE is faster are: When fork is available we can make use of copy-on-write shared objects, which reduces the need to copy objects that need to be shared over child processes
Workers can hold state over multiple tasks. Therefore you can choose to load a big file or send resources over only once per worker
Automatic task chunking
|
|
Your code goes down a rarely used branch and suddenly a large object gets copied.