In multiprocessing, the data will be copy while forking into a new process.
It waste a lot of time when we won't need all of the data we had.
Thus, we may put decoded data in a shared memory and pass the reference of needed data to each simulation processes.
In multiprocessing, the data will be copy while forking into a new process. It waste a lot of time when we won't need all of the data we had. Thus, we may put decoded data in a shared memory and pass the reference of needed data to each simulation processes.