From e2f1cda8a05605a10472c61be4abe999954c5eba 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 now up to 10 times faster (especially for
+ small ASCII cutsets) and 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 now up to 10 times faster (especially for
+ small ASCII cutsets) and allocation-free.