A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/attachments/20110131/6a80212e/attachment.html below:

2011/1/31 Terry Reedy <span dir="ltr">&lt;<a href="mailto:tjreedy@udel.edu">tjreedy@udel.edu</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">
On 1/31/2011 5:31 AM, Steven D&#39;Aprano wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Jurjen N.E. Bos wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I was impressed by the optimizations already in there, but I still<br>
dare to suggest an optimization that from my estimates might shave off<br>
a few cycles, speeding up Python about 5%.<br>
The idea is simple: change the byte code argument values from two<br>
bytes to one.<br>
</blockquote>
<br>
<br>
Interesting. Have you seem Cesare Di Mauro&#39;s WPython project, which<br>
takes the opposite strategy?<br>
<br>
<a href="http://code.google.com/p/wpython2/" target="_blank">http://code.google.com/p/wpython2/</a><br>
</blockquote>
<br></div>
The two strategies could be mixed. Some &#39;word codes&#39; could consist of a bytecode + byte arg, and others a real word code. Maybe WPython does that already. Might end up being slower though.<br><font color="#888888">
<br>
-- <br> Terry Jan Reedy</font></blockquote><div><br></div><div>Yes, WPython already does it (<a href="http://wpython2.googlecode.com/files/Beyond%20Bytecode%20-%20A%20Wordcode-based%20Python.pdf">http://wpython2.googlecode.com/files/Beyond%20Bytecode%20-%20A%20Wordcode-based%20Python.pdf</a> pag.7) , but on average it was faster (pag. 28).</div>
<div><br></div><div>Cesare </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> </blockquote>

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