From 6d458cde6b88f91bfe62ff78454c8c69fc0f9070 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 https://github.com/golang/go/issues/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..0dfc2d5f9c8887 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 up to 5 times faster (especially for + small ASCII cutsets) and are now 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 up to 5 times faster (especially for + small ASCII cutsets) and are now allocation-free.