Thousandaire / thousandaire

Hellow python! Hellow rich world!
MIT License
1 stars 3 forks source link

Build shared memory of simulating data. #30

Open ioumu8 opened 3 years ago

ioumu8 commented 3 years ago

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.