> Using a pure function would obviously be a useless benchmark for locking
But isn't that the point? Previously, pure functions would all lock, so you could only run one pure function at a time. Now they don't.
But isn't that the point? Previously, pure functions would all lock, so you could only run one pure function at a time. Now they don't.
The question is whether 1+ thread per core with GIL free Python perform as well as 1+ process per core with GIL.
My understanding is that this global is just a way to demonstrate that the finely grained locking in the GIL free version may make it so that preforking servers may still be more performant.