simulate icon indicating copy to clipboard operation
simulate copied to clipboard

[Optimization] Try shared memory instead of socket

Open dylanebert opened this issue 3 years ago • 1 comments

Socket is a major bottleneck, may be possible to try shared memory instead:

  • https://docs.python.org/3/library/multiprocessing.shared_memory.html
  • https://answers.unity.com/questions/1249732/how-to-use-shared-memory-in-unity.html

dylanebert avatar Sep 20 '22 19:09 dylanebert

Related thread https://github.com/Unity-Technologies/ml-agents/issues/3958. Maybe https://github.com/pythonnet/pythonnet can help with shared memory.

vwxyzjn avatar Oct 30 '22 14:10 vwxyzjn