yes, generating Python bytecode seems to be a horrible idea, and 2x improvements are not great coming from Python.
Apart from Cython and other C/C++ bindings one might also want to look at JIT compilers like Numba (or Jax and Pytorch for number crunching).