Skip to content

Commit 2bb2d27

Browse files
committed
doc: go1.18 release notes for CLs 323318/332771
Updates #47694
1 parent 91abe4b commit 2bb2d27

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

doc/go1.18.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
266266

267267
<dl id="bytes"><dt><a href="/pkg/bytes/">bytes</a></dt>
268268
<dd>
269-
<p><!-- CL 332771 -->
270-
<a href="/pkg/bytes#Trim"><code>bytes.Trim</code></a> and related
271-
functions, have had their most common use cases optimized.
269+
<p><!-- CL 323318, CL 332771 -->
270+
<a href="/pkg/bytes/#Trim"><code>Trim</code></a>, <a href="/pkg/bytes/#TrimLeft"><code>TrimLeft</code></a>,
271+
and <a href="/pkg/bytes/#TrimRight"><code>TrimRight</code></a> are now allocation free and, especially for
272+
small ASCII cutsets, up to 10 times faster.
272273
</p>
273274

274275
<p><!-- CL 359485 -->
@@ -407,9 +408,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
407408
TODO: <a href="https://golang.org/cl/345849">https://golang.org/cl/345849</a>: add Clone function
408409
</p>
409410

410-
<p><!-- CL 332771 -->
411-
<a href="/pkg/bytes#Trim"><code>strings.Trim</code></a> and related functions
412-
functions, have had their most common use cases optimized.
411+
<p><!-- CL 332771, CL 323318 -->
412+
<a href="/pkg/strings/#Trim"><code>Trim</code></a>, <a href="/pkg/strings/#TrimLeft"><code>TrimLeft</code></a>,
413+
and <a href="/pkg/strings/#TrimRight"><code>TrimRight</code></a> are now allocation free and, especially for
414+
small ASCII cutsets, up to 10 times faster.
413415
</p>
414416

415417
<p><!-- CL 359485 -->

0 commit comments

Comments
 (0)