summaryrefslogtreecommitdiff
path: root/Lib/idlelib/PyShell.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-11-20 22:54:33 +0000
committerRaymond Hettinger <python@rcn.com>2003-11-20 22:54:33 +0000
commit82d73dd459d911dcb12a48db12b7f8b3eb0f6b1b (patch)
treeb217ea12af549fcf9c1ab085884797a22d77331f /Lib/idlelib/PyShell.py
parentdff9dbdb38b38a94ac14eefc16e17437b118dfd6 (diff)
downloadcpython-git-82d73dd459d911dcb12a48db12b7f8b3eb0f6b1b.tar.gz
Three minor performance improvements:
* Improve the hash function to increase the chance that distinct sets will have distinct xor'd hash totals. * Use PyDict_Merge where possible (it is faster than an equivalent iter/set pair). * Don't rebuild dictionaries where the input already has one.
Diffstat (limited to 'Lib/idlelib/PyShell.py')
0 files changed, 0 insertions, 0 deletions