3 ms·
nmap has a serialization cost, and sharing complex data structures is hard with it. It's also different than multiprocesses as it will likely take less RAM. P
by BiteCode_dev 4y ago
nmap has a serialization cost, and sharing complex data structures is hard with it.
It's also different than multiprocesses as it will likely take less RAM.
Python is explorer multiple interpreters for these reasons. Python 3.8 SharedMemory works well, it's far from transparent.
- tyingq 4y ago>mmap has a serialization cost It does, though there should be optimized ways to do that if it's message passing and not object passing.