diff options
author | Raymond Hettinger <python@rcn.com> | 2003-05-05 22:22:10 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-05-05 22:22:10 (GMT) |
commit | 3539f6b895814ad79c455f7fe633ce253c77c140 (patch) | |
tree | 8270deea9c957faf0203087cf8b3c47d96e45161 /Lib | |
parent | f2e488db239054e41edbcc645364867d234b7259 (diff) | |
download | cpython-3539f6b895814ad79c455f7fe633ce253c77c140.zip cpython-3539f6b895814ad79c455f7fe633ce253c77c140.tar.gz cpython-3539f6b895814ad79c455f7fe633ce253c77c140.tar.bz2 |
SF patch #729395: Dictionary tuning
* Increase dictionary growth rate resulting in more sparse dictionaries,
fewer lookup collisions, increased memory use, and better cache
performance. For dicts with over 50k entries, keep the current
growth rate in case an application is suffering from tight memory
constraints.
* Set the most common case (no resize) to fall-through the test.
Diffstat (limited to 'Lib')
0 files changed, 0 insertions, 0 deletions