diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-06-04 21:00:21 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-06-04 21:00:21 (GMT) |
commit | afb6ae84526e9e6f70fef55b3743c2cd91327391 (patch) | |
tree | 2459ed703fddf4d70095cb63ca8669ca166c0ce6 /Demo/imputil | |
parent | b9d973dac5f846123922492ea333c196c105b089 (diff) | |
download | cpython-afb6ae84526e9e6f70fef55b3743c2cd91327391.zip cpython-afb6ae84526e9e6f70fef55b3743c2cd91327391.tar.gz cpython-afb6ae84526e9e6f70fef55b3743c2cd91327391.tar.bz2 |
Store the mask instead of the size in dictobjects. The mask is more
frequently used, and in particular this allows to drop the last
remaining obvious time-waster in the crucial lookdict() and
lookdict_string() functions. Other changes consist mostly of changing
"i < ma_size" to "i <= ma_mask" everywhere.
Diffstat (limited to 'Demo/imputil')
0 files changed, 0 insertions, 0 deletions