commit | 82d73dd459d911dcb12a48db12b7f8b3eb0f6b1b | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Nov 20 22:54:33 2003 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Nov 20 22:54:33 2003 +0000 |
tree | b217ea12af549fcf9c1ab085884797a22d77331f | |
parent | dff9dbdb38b38a94ac14eefc16e17437b118dfd6 [diff] |
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.