[Python-Dev] Wordcode v2 (original) (raw)

Cesare Di Mauro cesare.di.mauro at gmail.com
Sun May 15 08:12:46 EDT 2016


2016-02-15 1:20 GMT+01:00 Demur Rumed <gunkmute at gmail.com>:

Saw recent discussion: https://mail.python.org/pipermail/python-dev/2016-February/143013.html

I remember trying WPython; it was fast. Unfortunately it feels it came at the wrong time when development was invested in getting py3k out the door.

Not only that. IMO the primary problem was related to the fact the "patch" was too big to be reviewed. Unfortunately it was my first attempt, and having worked alone I introduced too much optimizations and (heavy) changes to the code. An incremental approach should have worked better, albeit I believe that such drastic move from the consolidated bytecodes to the new wordcodes would have produced strong resistance anyway.

It also had a lot of other ideas like *INT instructions which allowed having oparg to be a constant int rather than needing to LOADCONST one.

This, specifically, was an experiment that I made with WPython 1.1, which I recommend to do not follow. There are other, more general, ways to speedup the execution when dealing with integers. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160515/9a07d1e8/attachment.html>



More information about the Python-Dev mailing list