diff --git a/doc/go1.18.html b/doc/go1.18.html index 61bb8dbbcba315..d7dc68675a7be8 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -266,9 +266,10 @@

Minor changes to the library

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 @@

Minor changes to the library

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.