3 ms·
You will want to switch as soon as you have to confront the Global Interpreter Lock (GIL)
by flavio81 9y ago
You will want to switch as soon as you have to confront the Global Interpreter Lock (GIL)
- 88e282102ae2e5b 9y agoI've confronted it plenty of times, and for my use cases it's not really an issue. Many numpy functions release the GIL, so by keeping my performance-critical stuff in numpy it's just not an issue for me. I sometimes split tasks up with multiprocessing, which is a GIL workaround to be sure, but the memory footprint of extra interpreters is negligible compared to the data I work with.