From aec5c2eed6e4342270ca778a29b50487f7922f83 Mon Sep 17 00:00:00 2001 From: Jeremy Faller Date: Fri, 19 Nov 2021 15:11:22 -0500 Subject: [PATCH] [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 --- doc/go1.18.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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.