peterzcc / Arena

0 stars 1 forks source link

Change inter-process communication from Pipe to Shared Array #15

Closed peterzcc closed 7 years ago

peterzcc commented 7 years ago

Since the observation and action data type are pretty structured, I think it's better to change the inter-process communication method from Pipe to Shared Array. The Pipe is not very safe and requires pickling the object.

peterzcc commented 7 years ago

Solved by introducing a FastPipe class based on Shared Array, need more varification.