[Python-Dev] Accepting PEP 3154 for 3.4?

Antoine Pitrou solipsis at pitrou.net
Tue Nov 19 19:51:10 CET 2013


On Mon, 18 Nov 2013 16:48:05 -0800
Guido van Rossum <guido at python.org> wrote:
> 
> Food for thought: maybe we should have variable-encoding lengths for all
> opcodes, rather than the current cumbersome scheme?

Well, it's not that cumbersome... If you look at CPU encodings, they
also tend to have different opcodes for different immediate lengths.

In your case, I'd say it mostly leads to a bit of code duplication. But
the opcode space is far from exhausted right now :)

Regards

Antoine.


More information about the Python-Dev mailing list