• Raymond Hettinger's avatar
    Refactor and optimize code for UNPACK_SEQUENCE. · f114a3ae
    Raymond Hettinger authored
    * Defer error handling for wrong number of arguments to the
      unpack_iterable() function.  Cuts the code size almost in half.
    
    * Replace function calls to PyList_Size() and PyTuple_Size() with
      their smaller and faster macro counterparts.
    
    * Move the constant structure references outside of the inner loops.
    f114a3ae
ceval.c 97.7 KB