<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/opcode.py, branch v2.4a2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/opcode.py?h=v2.4a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/opcode.py?h=v2.4a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-06-21T16:31:15Z</updated>
<entry>
<title>Install two code generation optimizations that depend on NOP.</title>
<updated>2004-06-21T16:31:15Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-06-21T16:31:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9c18e81fb23d60ea77bdf4f3c2649296f26e4a95'/>
<id>urn:sha1:9c18e81fb23d60ea77bdf4f3c2649296f26e4a95</id>
<content type='text'>
Reduces the cost of "not" to almost zero.
</content>
</entry>
<entry>
<title>SF patch #910929:  Optimize list comprehensions</title>
<updated>2004-03-07T07:31:06Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-03-07T07:31:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dd80f762650f42f5f9ae820d9f55b21ed6f33bc0'/>
<id>urn:sha1:dd80f762650f42f5f9ae820d9f55b21ed6f33bc0</id>
<content type='text'>
Add a new opcode, LIST_APPEND, and apply it to the code generation for
list comprehensions.  Reduces the per-loop overhead by about a third.
</content>
</entry>
<entry>
<title>Replace backticks with repr() or "%r"</title>
<updated>2004-02-12T17:35:32Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-02-12T17:35:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=70a6b49821a3226f55e9716f32d802d06640cb89'/>
<id>urn:sha1:70a6b49821a3226f55e9716f32d802d06640cb89</id>
<content type='text'>
From SF patch #852334.
</content>
</entry>
<entry>
<title>Revert the previous enhancement to the bytecode optimizer.</title>
<updated>2003-04-24T05:45:23Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-04-24T05:45:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f4cf76dd5eabd8af5d2a866da1f75fa745aa6f29'/>
<id>urn:sha1:f4cf76dd5eabd8af5d2a866da1f75fa745aa6f29</id>
<content type='text'>
The additional code complexity and new NOP opcode were not worth it.
</content>
</entry>
<entry>
<title>Improved the bytecode optimizer.</title>
<updated>2003-04-22T06:49:11Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-04-22T06:49:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=060641d51160f6bf49a049bb677f8412b5a19de3'/>
<id>urn:sha1:060641d51160f6bf49a049bb677f8412b5a19de3</id>
<content type='text'>
* Can now test for basic blocks.
* Optimize inverted comparisions.
* Optimize unary_not followed by a conditional jump.
* Added a new opcode, NOP, to keep code size constant.
* Applied NOP to previous transformations where appropriate.

Note, the NOP would not be necessary if other functions were
added to re-target jump addresses and update the co_lnotab mapping.
That would yield slightly faster and cleaner bytecode at the
expense of optimizer simplicity and of keeping it decoupled
from the line-numbering structure.
</content>
</entry>
<entry>
<title>new opcode module - extract opcode definitions from dis.py - eventually</title>
<updated>2003-02-27T21:27:52Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2003-02-27T21:27:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3249ccd06a914eb12d197699d7f82db8573594fc'/>
<id>urn:sha1:3249ccd06a914eb12d197699d7f82db8573594fc</id>
<content type='text'>
should be generated automatically
</content>
</entry>
</feed>
