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