Skip to content

Commit 177e920

Browse files
committed
doc: go1.18 release notes for CLs 323318/332771
Updates #47694
1 parent 9e13a88 commit 177e920

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

doc/go1.18.html

+8-4
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
229229

230230
<dl id="bytes"><dt><a href="/pkg/bytes/">bytes</a></dt>
231231
<dd>
232-
<p><!-- CL 332771 -->
233-
TODO: <a href="https://golang.org/cl/332771">https://golang.org/cl/332771</a>: avoid allocations in Trim/TrimLeft/TrimRight
232+
<p><!-- https://golang.org/cl/323318 https://golang.org/cl/332771 -->
233+
<a href="/pkg/bytes/#Trim"><code>Trim</code></a>, <a href="/pkg/bytes/#TrimLeft"><code>TrimLeft</code></a>,
234+
and <a href="/pkg/bytes/#TrimRight"><code>TrimRight</code></a> are now up to 10 times faster (especially for
235+
small ASCII cutsets) and allocation-free.
234236
</p>
235237

236238
<p><!-- CL 359485 -->
@@ -369,8 +371,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
369371
TODO: <a href="https://golang.org/cl/345849">https://golang.org/cl/345849</a>: add Clone function
370372
</p>
371373

372-
<p><!-- CL 332771 -->
373-
TODO: <a href="https://golang.org/cl/332771">https://golang.org/cl/332771</a>: avoid allocations in Trim/TrimLeft/TrimRight
374+
<p><!-- https://golang.org/cl/323318 https://golang.org/cl/332771 -->
375+
<a href="/pkg/strings/#Trim"><code>Trim</code></a>, <a href="/pkg/strings/#TrimLeft"><code>TrimLeft</code></a>,
376+
and <a href="/pkg/strings/#TrimRight"><code>TrimRight</code></a> are now up to 10 times faster (especially for
377+
small ASCII cutsets) and allocation-free.
374378
</p>
375379

376380
<p><!-- CL 359485 -->

0 commit comments

Comments
 (0)