A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-January/107795.html below:

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

[Python-Dev] Byte code arguments from two to one byte: did anyone try this? [Python-Dev] Byte code arguments from two to one byte: did anyone try this?Terry Reedy tjreedy at udel.edu
Mon Jan 31 14:23:29 CET 2011
On 1/31/2011 5:31 AM, Steven D'Aprano wrote:
> 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/

The two strategies could be mixed. Some 'word codes' could consist of a 
bytecode + byte arg, and others a real word code. Maybe WPython does 
that already. Might end up being slower though.

-- 
Terry Jan Reedy

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4