From 6d458cde6b88f91bfe62ff78454c8c69fc0f9070 Mon Sep 17 00:00:00 2001
From: Carlo Alberto Ferraris
- TODO: https://golang.org/cl/332771: avoid allocations in Trim/TrimLeft/TrimRight
+
+
@@ -369,8 +371,10 @@ Minor changes to the library
Trim
, TrimLeft
,
+ and TrimRight
are up to 5 times faster (especially for
+ small ASCII cutsets) and are now allocation-free.
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.