[Python-Dev] Byte code arguments from two to one byte: did anyone try this? (original) (raw)

Steven D'Aprano steve at pearwood.info
Mon Jan 31 11:31:53 CET 2011


Jurjen N.E. Bos wrote:

I was impressed by the optimizations already in there, but I still dare to suggest an optimization that from my estimates might shave off a few cycles, speeding up Python about 5%. The idea is simple: change the byte code argument values from two bytes to one.

Interesting. Have you seem Cesare Di Mauro's WPython project, which takes the opposite strategy?

http://code.google.com/p/wpython2/

-- Steven



More information about the Python-Dev mailing list