The native just-in-time compiler in Python 3.15 can speed up code by as much as 20% or more, although it’s still experimental ...
Sometimes, a somewhat obscure Linux distribution might be just what you're looking for. Is either CachyOS or Nobara the one?