From e2f1cda8a05605a10472c61be4abe999954c5eba Mon Sep 17 00:00:00 2001 From: Carlo Alberto Ferraris Date: Mon, 15 Nov 2021 16:50:29 +0900 Subject: [PATCH] go1.18 release notes for CLs 323318/332771 Updates #47694 --- doc/go1.18.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/go1.18.html b/doc/go1.18.html index e796215c78b3cf..e582b5285ebf0a 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -229,8 +229,10 @@

Minor changes to the library

bytes
-

- TODO: https://golang.org/cl/332771: avoid allocations in Trim/TrimLeft/TrimRight +

+ Trim, TrimLeft, + and TrimRight are now up to 10 times faster (especially for + small ASCII cutsets) and allocation-free.

@@ -369,8 +371,10 @@

Minor changes to the library

TODO: https://golang.org/cl/345849: add Clone function

-

- TODO: https://golang.org/cl/332771: avoid allocations in Trim/TrimLeft/TrimRight +

+ Trim, TrimLeft, + and TrimRight are now up to 10 times faster (especially for + small ASCII cutsets) and allocation-free.