State of Python 3.13 Performance: Free-Threading
CPython 3.13 was released two weeks ago and this release is the most
performance-oriented in some time. After a quick read of the release notes, a
few things stand out for the impact they can have on the performance:
CPython can now run in free-threaded mode, with the global interpreter
lock (GIL) disabled
a brand new just-in-time (JIT) compiler has been added
CPython now bundles the mimalloc allocator out of the box
Let's focus on the free-threaded mode in this article to see how to leverage
th...
Read more at codspeed.io