Without releasing the GIL while doing not Python related things (especially IO) using multiple threads can be inefficient. A possible workaround is using multiple processes, but then sharing data requires pickling/unpickling.
This issue is the result of a discussion on Memgraph's Discord server.
Without releasing the GIL while doing not Python related things (especially IO) using multiple threads can be inefficient. A possible workaround is using multiple processes, but then sharing data requires pickling/unpickling.
This issue is the result of a discussion on Memgraph's Discord server.