From: Jeremy Faller Date: Fri, 19 Nov 2021 20:11:22 +0000 (-0500) Subject: [go] doc: document speedups to Trim[|Left|Right] X-Git-Tag: go1.18beta1~236 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=aec5c2eed6e4342270ca778a29b50487f7922f83;p=gostls13.git [go] doc: document speedups to Trim[|Left|Right] CL: #332771 Updates: #47694 Change-Id: I8c729084b7a8745ec73f87ef3c469edbd596ddb4 Reviewed-on: https://go-review.googlesource.com/c/go/+/365318 Trust: Jeremy Faller Run-TryBot: Jeremy Faller Reviewed-by: Joe Tsai --- diff --git a/doc/go1.18.html b/doc/go1.18.html index 3018ed1b4a..cc5c542746 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -254,7 +254,8 @@ proposal.
bytes

- TODO: https://golang.org/cl/332771: avoid allocations in Trim/TrimLeft/TrimRight + bytes.Trim and related + functions, have had their most common use cases optimized.

@@ -394,7 +395,8 @@ proposal.

- TODO: https://golang.org/cl/332771: avoid allocations in Trim/TrimLeft/TrimRight + strings.Trim and related functions + functions, have had their most common use cases optimized.