aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2021-01-22 20:38:29 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2021-01-23 19:46:15 +0000
commitb634f5d97a6e65f19057c00ed2095a1a872c7fa8 (patch)
treea8e724ed01edf9704ad1e5c8b5a93762747c1b06 /doc
parent9897655c615584c5a70b7a2d89028c014fc5f29b (diff)
downloadgo-b634f5d97a6e65f19057c00ed2095a1a872c7fa8.tar.gz
go-b634f5d97a6e65f19057c00ed2095a1a872c7fa8.zip
doc/go1.16: add crypto/x509 memory optimization
Change-Id: I0c61b0e0d1430f66e3f7dbf07817264258a1c15a Reviewed-on: https://go-review.googlesource.com/c/go/+/285682 Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.16.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/go1.16.html b/doc/go1.16.html
index 9c8919e5c2..78f69f6c7d 100644
--- a/doc/go1.16.html
+++ b/doc/go1.16.html
@@ -623,6 +623,14 @@ func TestFoo(t *testing.T) {
method allows accessing the <a href="/pkg/crypto/x509/#SystemRootsError.Err"><code>Err</code></a>
field through the <a href="/pkg/errors"><code>errors</code></a> package functions.
</p>
+
+ <p><!-- CL 230025 -->
+ On Unix systems, the <code>crypto/x509</code> package is now more
+ efficient in how it stores its copy of the system cert pool.
+ Programs that use only a small number of roots will use around a
+ half megabyte less memory.
+ </p>
+
</dd>
</dl><!-- crypto/x509 -->