summaryrefslogtreecommitdiffstats
path: root/Demo/imputil
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-06-04 21:00:21 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-06-04 21:00:21 (GMT)
commitafb6ae84526e9e6f70fef55b3743c2cd91327391 (patch)
tree2459ed703fddf4d70095cb63ca8669ca166c0ce6 /Demo/imputil
parentb9d973dac5f846123922492ea333c196c105b089 (diff)
downloadcpython-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