Python will get optional JIT in version 3.13. They also support disabling GIL. They are planning on releasing it on 2024-10-01.
https://docs.python.org/3.13/whatsnew/3.13.html#free-threaded-cpython
https://docs.python.org/3.13/whatsnew/3.13.html#an-experimental-just-in-time-jit-compiler
Looks like Gentoo's Portage package manager will finally get faster!
In the past some users tried switching to pypy: https://blogs.gentoo.org/mgorny/2020/10/06/speeding-up-emerge-depgraph-calculation-using-pypy3/