4 ms·
He could just run the code in multiple process. Enough with the GIL bullshit.
by lclarkmichalek 11y ago
He could just run the code in multiple process. Enough with the GIL bullshit.
- undrcvr-lagggal 11y agoThat would be inefficient because you'd need to allocate extra stack, process datastructures, context switching, etc.
- guiomie 11y agoFrom experience, when you can, it's just better spawning multiple processes over doing multithreading.