commit | afb6ae84526e9e6f70fef55b3743c2cd91327391 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Mon Jun 04 21:00:21 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Mon Jun 04 21:00:21 2001 +0000 |
tree | 2459ed703fddf4d70095cb63ca8669ca166c0ce6 | |
parent | b9d973dac5f846123922492ea333c196c105b089 [diff] |
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.