diff --git a/doc/go1.18.html b/doc/go1.18.html index c9c70267f19..1788e97663f 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -304,9 +304,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.

@@ -447,9 +448,10 @@ proposal. the input string's memory.

-

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