Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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