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 golang#47694
  • Loading branch information
CAFxX committed Nov 16, 2021
1 parent 9e13a88 commit 177e920
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions doc/go1.18.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,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 -->
TODO: <a href="https://golang.org/cl/332771">https://golang.org/cl/332771</a>: avoid allocations in Trim/TrimLeft/TrimRight
<p><!-- https://golang.org/cl/323318 https://golang.org/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 up to 10 times faster (especially for
small ASCII cutsets) and allocation-free.
</p>

<p><!-- CL 359485 -->
Expand Down Expand Up @@ -369,8 +371,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 -->
TODO: <a href="https://golang.org/cl/332771">https://golang.org/cl/332771</a>: avoid allocations in Trim/TrimLeft/TrimRight
<p><!-- https://golang.org/cl/323318 https://golang.org/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 up to 10 times faster (especially for
small ASCII cutsets) and allocation-free.
</p>

<p><!-- CL 359485 -->
Expand Down

0 comments on commit 177e920

Please sign in to comment.