]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Slight tweak: in string_hash(), if the hash hasn't been computed yet,
authorGuido van Rossum <guido@python.org>
Fri, 14 Feb 1997 16:29:22 +0000 (16:29 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 14 Feb 1997 16:29:22 +0000 (16:29 +0000)
commit36b9f7908a168957d151595817b2c06a2fcb9a40
tree9ef15fb56227b1c7d54c63043a6d42ce282f57d3
parent7582bfb60a7027b57d79c44a5e8531a31d1a8f2a
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.
Objects/stringobject.c