From 1cd724acb6304d30d8998d14a5469fbab24dd3b1 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Tue, 18 Feb 2020 10:03:22 -0500 Subject: [PATCH] doc/go1.14: highlight the addition of hash/maphash package Given that it's a package that did not exist before, was a proposal in issue #28322, got accepted and implemented for 1.14, it seems to be more than a minor change to the library. Highlight it accordingly. Also specify the results are 64-bit integers, as done in CL 219340. Updates #36878 Updates #28322 Change-Id: Idefe63d4c47a02cdcf8be8ab08c40cdb94ff2098 Reviewed-on: https://go-review.googlesource.com/c/go/+/219877 Run-TryBot: Dmitri Shuralyov Reviewed-by: Toshihiro Shiino Reviewed-by: Ian Lance Taylor TryBot-Result: Gobot Gobot --- doc/go1.14.html | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/doc/go1.14.html b/doc/go1.14.html index 0c34245f622..f83b365704d 100644 --- a/doc/go1.14.html +++ b/doc/go1.14.html @@ -405,8 +405,22 @@ appropriately.)

Core library

+

New byte sequence hashing package

+ +

+ Go 1.14 includes a new package, + hash/maphash, + which provides hash functions on byte sequences. + These hash functions are intended to be used to implement hash tables or + other data structures that need to map arbitrary strings or byte + sequences to a uniform distribution on unsigned 64-bit integers. +

- All of the changes to the standard library are minor. + The hash functions are collision-resistant but not cryptographically secure. +

+

+ The hash value of a given byte sequence is consistent within a + single process, but will be different in different processes.

Minor changes to the library

@@ -603,24 +617,6 @@ appropriately.) -
hash/maphash
-
-

- This new package provides hash functions on byte sequences. - These hash functions are intended to be used to implement hash tables or - other data structures that need to map arbitrary strings or byte - sequences to a uniform distribution of integers. -

-

- The hash functions are collision-resistant but not cryptographically secure. -

-

- The hash value of a given byte sequence is consistent within a - single process, but will be different in different processes. -

-
-
-
io/ioutil