doc: go1.18 release notes for CLs 323318/332771

Updates #47694

Change-Id: Ib76737996a701906117e096eb6d05b388576a874
GitHub-Last-Rev: 05b9649965
GitHub-Pull-Request: golang/go#49588
Reviewed-on: https://go-review.googlesource.com/c/go/+/363840
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Trust: Daniel Martí <mvdan@mvdan.cc>
This commit is contained in:
Carlo Alberto Ferraris 2021-11-22 01:26:48 +00:00 committed by Ian Lance Taylor
parent fad67f8a53
commit a142d6587c

View file

@ -304,9 +304,10 @@ proposal</a>.
<dl id="bytes"><dt><a href="/pkg/bytes/">bytes</a></dt> <dl id="bytes"><dt><a href="/pkg/bytes/">bytes</a></dt>
<dd> <dd>
<p><!-- CL 332771 --> <p><!-- CL 323318, CL 332771 -->
<a href="/pkg/bytes#Trim"><code>bytes.Trim</code></a> and related <a href="/pkg/bytes/#Trim"><code>Trim</code></a>, <a href="/pkg/bytes/#TrimLeft"><code>TrimLeft</code></a>,
functions, have had their most common use cases optimized. and <a href="/pkg/bytes/#TrimRight"><code>TrimRight</code></a> are now allocation free and, especially for
small ASCII cutsets, up to 10 times faster.
</p> </p>
<p><!-- CL 359485 --> <p><!-- CL 359485 -->
@ -447,9 +448,10 @@ proposal</a>.
the input string's memory. the input string's memory.
</p> </p>
<p><!-- CL 332771 --> <p><!-- CL 323318, CL 332771 -->
<a href="/pkg/bytes#Trim"><code>strings.Trim</code></a> and related functions <a href="/pkg/strings/#Trim"><code>Trim</code></a>, <a href="/pkg/strings/#TrimLeft"><code>TrimLeft</code></a>,
functions, have had their most common use cases optimized. and <a href="/pkg/strings/#TrimRight"><code>TrimRight</code></a> are now allocation free and, especially for
small ASCII cutsets, up to 10 times faster.
</p> </p>
<p><!-- CL 359485 --> <p><!-- CL 359485 -->