commit | 36b9f7908a168957d151595817b2c06a2fcb9a40 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Feb 14 16:29:22 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Feb 14 16:29:22 1997 +0000 |
tree | 9ef15fb56227b1c7d54c63043a6d42ce282f57d3 | |
parent | 7582bfb60a7027b57d79c44a5e8531a31d1a8f2a [diff] |
Slight tweak: in string_hash(), if the hash hasn't been computed yet, and if there's a pointer to an interned version of the string, use its hash and store its hash in this object, rather than recomputing it.