Performance Cost of GIL-Free Reference Counting

Without the GIL, making reference counting thread-safe through atomic operations could slow single-threaded Python by 20% or more, with one project reporting an 18.9x slowdown on multiple cores.

Sources

Open the full topic