diff --git a/doc/go1.18.html b/doc/go1.18.html index 61bb8dbbcba..d7dc68675a7 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -266,9 +266,10 @@ proposal.
bytes
-

- bytes.Trim and related - functions, have had their most common use cases optimized. +

+ Trim, TrimLeft, + and TrimRight are now allocation free and, especially for + small ASCII cutsets, up to 10 times faster.

@@ -407,9 +408,10 @@ proposal. TODO: https://golang.org/cl/345849: add Clone function

-

- strings.Trim and related functions - functions, have had their most common use cases optimized. +

+ Trim, TrimLeft, + and TrimRight are now allocation free and, especially for + small ASCII cutsets, up to 10 times faster.