[Python-checkins] CVS: python/dist/src/Python ceval.c,2.303,2.304
M.-A. Lemburg
mal@lemburg.com
Tue, 12 Feb 2002 11:29:20 +0100
Tim Peters wrote:
>
> Update of /cvsroot/python/python/dist/src/Python
> In directory usw-pr-cvs1:/tmp/cvs-serv22340/python/python
>
> Modified Files:
> ceval.c
> Log Message:
> LOAD_FAST: rearrange branches to favor the expected case, and get
> rid of a redundant NULL-pointer check in the expected case.
If you move LOAD_FAST out of the switch altogether you'll
get another performance boost. It is by far the most common
opcode and avoiding the switch() overhead pays off.
--
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting: http://www.egenix.com/
Python Software: http://www.egenix.com/files/python/