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

Updates #47694

Change-Id: Ida662b637396eb967e759be231d79330ef4f6163
This commit is contained in:
Carlo Alberto Ferraris 2021-11-15 16:50:29 +09:00
parent 91abe4be0e
commit 05b9649965

View file

@ -266,9 +266,10 @@ proposal</a>.
<dl id="bytes"><dt><a href="/pkg/bytes/">bytes</a></dt>
<dd>
<p><!-- CL 332771 -->
<a href="/pkg/bytes#Trim"><code>bytes.Trim</code></a> and related
functions, have had their most common use cases optimized.
<p><!-- CL 323318, CL 332771 -->
<a href="/pkg/bytes/#Trim"><code>Trim</code></a>, <a href="/pkg/bytes/#TrimLeft"><code>TrimLeft</code></a>,
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><!-- CL 359485 -->
@ -407,9 +408,10 @@ proposal</a>.
TODO: <a href="https://golang.org/cl/345849">https://golang.org/cl/345849</a>: add Clone function
</p>
<p><!-- CL 332771 -->
<a href="/pkg/bytes#Trim"><code>strings.Trim</code></a> and related functions
functions, have had their most common use cases optimized.
<p><!-- CL 323318, CL 332771 -->
<a href="/pkg/strings/#Trim"><code>Trim</code></a>, <a href="/pkg/strings/#TrimLeft"><code>TrimLeft</code></a>,
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><!-- CL 359485 -->