Skip to content

Commit

Permalink
doc: go1.18 release notes for CLs 323318/332771
Browse files Browse the repository at this point in the history
Updates #47694

Change-Id: Ida662b637396eb967e759be231d79330ef4f6163
  • Loading branch information
CAFxX committed Nov 22, 2021
1 parent 91abe4b commit 05b9649
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions doc/go1.18.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>

<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 -->
Expand Down Expand Up @@ -407,9 +408,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
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 -->
Expand Down

0 comments on commit 05b9649

Please sign in to comment.