So why is framing different?


On Tue, Nov 19, 2013 at 10:51 AM, Antoine Pitrou <solipsis@pitrou.net> wrote:
On Mon, 18 Nov 2013 16:48:05 -0800
Guido van Rossum <guido@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.



--
--Guido van Rossum (python.org/~guido)