I made an attempt once and it was faster: https://faster-cpython.readthedocs.io/registervm.html But I had bugs and I didn't know how to implement correctly a compiler. Victor Le mardi 26 février 2019, Neil Schemenauer <nas-python@arctrix.com> a écrit :
On 2019-02-25, Eric Snow wrote:
So it looks like commit ef4ac967 is not responsible for a performance regression.
I did a bit of exploration myself and that was my conclusion as well. Perhaps others would be interested in how to use "perf" so I did a little write up:
https://discuss.python.org/t/profiling-cpython-with-perf/940
To me, it looks like using a register based VM could produce a pretty decent speedup. Research project for someone. ;-)
Regards,
Neil _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/vstinner%40redhat.com
-- Night gathers, and now my watch begins. It shall not end until my death.