• PyPy speeds up Python by ~ 7.6 times, -- some tasks accelerated 50+ tim

    From henhanna@gmail.com@21:1/5 to All on Sat Feb 11 18:45:34 2023
    i was using Pypy3 a few years ago,
    but back then,
    i didn't know why it was faster.

    https://www.infoworld.com/article/3385127/what-is-pypy-faster-python-without-pain.html

    PyPy vs. CPython

    PyPy is a drop-in replacement for the stock Python
    interpreter, CPython. Whereas CPython compiles Python to intermediate
    bytecode that is then interpreted by a virtual machine, PyPy uses
    just-in-time (JIT) compilation to translate Python code into
    machine-native assembly language.


    Depending on the task being performed, the performance
    gains can be dramatic.

    On the average, PyPy speeds up Python by about
    7.6 times, with some tasks accelerated 50 times or more.



    ------------ i can't tell if this means the speed of 7.6 or 8.6 times original.

    but when i tried today, the new speed was about 9 times the original.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)