]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.14: add remarks about range inference and check removal
authorDavid Chase <drchase@google.com>
Wed, 15 Jan 2020 22:19:17 +0000 (17:19 -0500)
committerAustin Clements <austin@google.com>
Wed, 5 Feb 2020 16:59:25 +0000 (16:59 +0000)
Mentions CLs 174704 and 196784.

Change-Id: Ia8f821a3d90a4e08c895a6f091dbf07311e885ba
Reviewed-on: https://go-review.googlesource.com/c/go/+/214946
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
doc/go1.14.html

index 7cf73bc5010dfb61004a475f05f92fc08a5e1325..f5e878e9dfb394ec7579eb400ba7716a7ab2c3fb 100644 (file)
@@ -401,6 +401,11 @@ appropriately.)
   This API may change in future releases.
 </p>
 
+<p><!-- CL 174704 --><!-- CL 196784 -->
+  Bounds check elimination now uses information from slice creation and can
+  eliminate checks for indexes with types smaller than <code>int</code>.
+</p>
+
 <h2 id="library">Core library</h2>
 
 <p>