File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -229,8 +229,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
229
229
230
230
< dl id ="bytes "> < dt > < a href ="/pkg/bytes/ "> bytes</ a > </ dt >
231
231
< dd >
232
- < p > <!-- CL 332771 -->
233
- TODO: < a href ="https://golang.org/cl/332771 "> https://golang.org/cl/332771</ a > : avoid allocations in Trim/TrimLeft/TrimRight
232
+ < p > <!-- https://golang.org/cl/323318 https://golang.org/cl/332771 -->
233
+ < a href ="/pkg/bytes/#Trim "> < code > Trim</ code > </ a > , < a href ="/pkg/bytes/#TrimLeft "> < code > TrimLeft</ code > </ a > ,
234
+ and < a href ="/pkg/bytes/#TrimRight "> < code > TrimRight</ code > </ a > are now up to 10 times faster (especially for
235
+ small ASCII cutsets) and allocation-free.
234
236
</ p >
235
237
236
238
< p > <!-- CL 359485 -->
@@ -369,8 +371,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
369
371
TODO: < a href ="https://golang.org/cl/345849 "> https://golang.org/cl/345849</ a > : add Clone function
370
372
</ p >
371
373
372
- < p > <!-- CL 332771 -->
373
- TODO: < a href ="https://golang.org/cl/332771 "> https://golang.org/cl/332771</ a > : avoid allocations in Trim/TrimLeft/TrimRight
374
+ < p > <!-- https://golang.org/cl/323318 https://golang.org/cl/332771 -->
375
+ < a href ="/pkg/strings/#Trim "> < code > Trim</ code > </ a > , < a href ="/pkg/strings/#TrimLeft "> < code > TrimLeft</ code > </ a > ,
376
+ and < a href ="/pkg/strings/#TrimRight "> < code > TrimRight</ code > </ a > are now up to 10 times faster (especially for
377
+ small ASCII cutsets) and allocation-free.
374
378
</ p >
375
379
376
380
< p > <!-- CL 359485 -->
You can’t perform that action at this time.
0 commit comments