Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython ↵ | Georg Brandl | 2009-06-29 | 1 | -6/+9 |
| | | | | sprint. | ||||
* | teach the peepholer about SETUP_WITH | Benjamin Peterson | 2009-05-26 | 1 | -0/+3 |
| | |||||
* | Backport r69961 to trunk, replacing JUMP_IF_{TRUE,FALSE} with | Jeffrey Yasskin | 2009-02-28 | 1 | -35/+61 |
| | | | | | | POP_JUMP_IF_{TRUE,FALSE} and JUMP_IF_{TRUE,FALSE}_OR_POP. This avoids executing a POP_TOP on each conditional and sometimes allows the peephole optimizer to skip a JUMP_ABSOLUTE entirely. It speeds up list comprehensions significantly. | ||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 1 | -8/+8 |
| | | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -8/+8 |
| | |||||
* | Try to fix a bunch of compiler warnings on Win64. | Neal Norwitz | 2008-03-25 | 1 | -2/+2 |
| | |||||
* | Fix indentation | Neal Norwitz | 2008-02-25 | 1 | -1/+1 |
| | |||||
* | Use macro version of GET_SIZE to avoid Coverity warning (#150) about a ↵ | Neal Norwitz | 2007-06-09 | 1 | -1/+1 |
| | | | | possible error. | ||||
* | Fix embarrassing typo and fix constantification of None | Raymond Hettinger | 2007-03-02 | 1 | -6/+10 |
| | |||||
* | Update the peephole optimizer to remove more dead code (jumps after returns) | Neal Norwitz | 2006-10-14 | 1 | -4/+15 |
| | | | | and inline jumps to returns. | ||||
* | Move peephole optimizer to separate file. | Jeremy Hylton | 2006-08-21 | 1 | -0/+615 |