]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Small code improvements for readability, code size, and/or speed.
authorRaymond Hettinger <python@rcn.com>
Wed, 7 Apr 2004 11:39:21 +0000 (11:39 +0000)
committerRaymond Hettinger <python@rcn.com>
Wed, 7 Apr 2004 11:39:21 +0000 (11:39 +0000)
commit467a698bd2488ecb532fedcf1a8f6a018fa662a6
treec9d6decb31d34255b2808c6d00a4da43600748a3
parent22ab06e4debcd65362e3f9ef69151eac70535c5f
Small code improvements for readability, code size, and/or speed.

BINARY_SUBSCR:
    * invert test for normal case fall through
    * eliminate err handling code by jumping to slow_case

LOAD_LOCALS:
    * invert test for normal case fall through
    * continue instead of break for the non-error case

STORE_NAME and DELETE_NAME:
    * invert test for normal case fall through

LOAD_NAME:
    * continue instead of break for the non-error case

DELETE_FAST:
    * invert test for normal case fall through

LOAD_DEREF:
    * invert test for normal case fall through
    * continue instead of break for the non-error case
Python/ceval.c