aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitshur@golang.org>2020-02-18 10:03:22 -0500
committerDmitri Shuralyov <dmitshur@golang.org>2020-02-18 20:21:35 +0000
commit1cd724acb6304d30d8998d14a5469fbab24dd3b1 (patch)
tree337385e0fbed3ae0d7de57573b8af8dcc2ad3b11
parenta0cf2c872fd3b8fd34979d13b41115f9be8c90a1 (diff)
downloadgo-1cd724acb6304d30d8998d14a5469fbab24dd3b1.tar.gz
go-1cd724acb6304d30d8998d14a5469fbab24dd3b1.zip
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 <dmitshur@golang.org> Reviewed-by: Toshihiro Shiino <shiino.toshihiro@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
-rw-r--r--doc/go1.14.html34
1 files changed, 15 insertions, 19 deletions
diff --git a/doc/go1.14.html b/doc/go1.14.html
index 0c34245f62..f83b365704 100644
--- a/doc/go1.14.html
+++ b/doc/go1.14.html
@@ -405,8 +405,22 @@ appropriately.)
<h2 id="library">Core library</h2>
+<h3 id="hash/maphash">New byte sequence hashing package</h3>
+
+<p> <!-- golang.org/issue/28322, CL 186877 -->
+ Go 1.14 includes a new package,
+ <a href="/pkg/hash/maphash/"><code>hash/maphash</code></a>,
+ 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.
+</p>
+<p>
+ The hash functions are collision-resistant but not cryptographically secure.
+</p>
<p>
- All of the changes to the standard library are minor.
+ The hash value of a given byte sequence is consistent within a
+ single process, but will be different in different processes.
</p>
<h3 id="minor_library_changes">Minor changes to the library</h3>
@@ -603,24 +617,6 @@ appropriately.)
</dd>
</dl><!-- go/doc -->
-<dl id="hash/maphash"><dt><a href="/pkg/hash/maphash/">hash/maphash</a></dt>
- <dd>
- <p><!-- CL 186877 -->
- 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.
- </p>
- <p>
- The hash functions are collision-resistant but not cryptographically secure.
- </p>
- <p>
- The hash value of a given byte sequence is consistent within a
- single process, but will be different in different processes.
- </p>
- </dd>
-</dl><!-- hash/maphash -->
-
<dl id="io/ioutil"><dt><a href="/pkg/io/ioutil/">io/ioutil</a></dt>
<dd>
<p><!-- CL 198488 -->