[Python-Dev] Why is Bytecode the way it is?

nospam at barrys-emacs.org nospam at barrys-emacs.org
Sun Jul 11 02:09:51 CEST 2004


If you find sequences of byte-code that are worth optimizing that is 
possible
without changing the  byte code itself. Modern CPU's use pipe lines to 
look at
the instruction stream and figure out fast ways to run the code. The 
same method
could be used in pythons VM.

As others have pointed out its up to someone to prove that the added 
complexity in
the VM gives a desirable improvement in performance.

Barry



More information about the Python-Dev mailing list