summaryrefslogtreecommitdiff
path: root/Python/symtable.c
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-01-24 09:12:06 -0800
committerRaymond Hettinger <python@rcn.com>2016-01-24 09:12:06 -0800
commitd84ec225bdf88a8ad54c57b78beb6c32ae9fffde (patch)
treec81ceacd8c6462e02c2a65c5d98f92bf28475fd3 /Python/symtable.c
parent1aa78938b0d019b7c9cbb153c2f35709ee01a19a (diff)
downloadcpython-git-d84ec225bdf88a8ad54c57b78beb6c32ae9fffde.tar.gz
Miscellaneous refactorings
* Add comment to the maxlen structure entry about the meaning of maxlen == -1 * Factor-out code common to deque_append(left) and deque_extend(left) * Factor inner-loop in deque_clear() to use only 1 test per loop instead of 2 * Tighten inner-loops for deque_item() and deque_ass_item() so that the compiler can combine the decrement and test into a single step.
Diffstat (limited to 'Python/symtable.c')
0 files changed, 0 insertions, 0 deletions