diff options
author | jdemeyer <jdemeyer@cage.ugent.be> | 2018-10-28 00:06:38 (GMT) |
---|---|---|
committer | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2018-10-28 00:06:38 (GMT) |
commit | aeb1be5868623c9cd9cf6d7de3015a43fb005815 (patch) | |
tree | 8a4254e9e0077067e9d58525d3a8c8897a20aced /Misc | |
parent | 53125a53f483db0af76249b6af6efcdc200eb421 (diff) | |
download | cpython-aeb1be5868623c9cd9cf6d7de3015a43fb005815.zip cpython-aeb1be5868623c9cd9cf6d7de3015a43fb005815.tar.gz cpython-aeb1be5868623c9cd9cf6d7de3015a43fb005815.tar.bz2 |
bpo-34751: improved hash function for tuples (GH-9471)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2018-09-20-15-41-58.bpo-34751.Yiv0pV.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-09-20-15-41-58.bpo-34751.Yiv0pV.rst b/Misc/NEWS.d/next/Core and Builtins/2018-09-20-15-41-58.bpo-34751.Yiv0pV.rst new file mode 100644 index 0000000..b2ba514 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2018-09-20-15-41-58.bpo-34751.Yiv0pV.rst @@ -0,0 +1,4 @@ +The hash function for tuples is now based on xxHash +which gives better collision results on (formerly) pathological cases. +Additionally, on 64-bit systems it improves tuple hashes in general. +Patch by Jeroen Demeyer with substantial contributions by Tim Peters. |