From: Carlo Alberto Ferraris Date: Mon, 22 Nov 2021 01:26:48 +0000 (+0000) Subject: doc: go1.18 release notes for CLs 323318/332771 X-Git-Tag: go1.18beta1~168 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a142d6587cb6a7ac59ebf49120167c96bdc3bcf6;p=gostls13.git doc: go1.18 release notes for CLs 323318/332771 Updates #47694 Change-Id: Ib76737996a701906117e096eb6d05b388576a874 GitHub-Last-Rev: 05b96499651bb4e90617460a72f1df9f2c8615f3 GitHub-Pull-Request: golang/go#49588 Reviewed-on: https://go-review.googlesource.com/c/go/+/363840 Reviewed-by: Dmitri Shuralyov Trust: Daniel Martí --- diff --git a/doc/go1.18.html b/doc/go1.18.html index c9c70267f1..1788e97663 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.