1
0
mirror of https://github.com/golang/go synced 2024-11-26 16:57:14 -07:00

doc/go1.14: add remarks about range inference and check removal

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>
This commit is contained in:
David Chase 2020-01-15 17:19:17 -05:00 committed by Austin Clements
parent a864cc7560
commit ffd4e32885

View 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>