diff options
author | Raymond Hettinger <python@rcn.com> | 2004-03-08 23:25:30 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-03-08 23:25:30 (GMT) |
commit | f114a3ae631b0391f9ca7d631a26b7ca4e99d4f9 (patch) | |
tree | 3a909c70269bf7cdce6b1ba7381b9a011e5e80ef /Python/strtod.c | |
parent | 4b6b7f151501eaee0af46220553c78607474e420 (diff) | |
download | cpython-f114a3ae631b0391f9ca7d631a26b7ca4e99d4f9.zip cpython-f114a3ae631b0391f9ca7d631a26b7ca4e99d4f9.tar.gz cpython-f114a3ae631b0391f9ca7d631a26b7ca4e99d4f9.tar.bz2 |
Refactor and optimize code for UNPACK_SEQUENCE.
* 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.
Diffstat (limited to 'Python/strtod.c')
0 files changed, 0 insertions, 0 deletions