File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -266,9 +266,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
266
266
267
267
< dl id ="bytes "> < dt > < a href ="/pkg/bytes/ "> bytes</ a > </ dt >
268
268
< dd >
269
- < p > <!-- CL 332771 -->
270
- < a href ="/pkg/bytes#Trim "> < code > bytes.Trim</ code > </ a > and related
271
- functions, have had their most common use cases optimized.
269
+ < p > <!-- CL 323318, CL 332771 -->
270
+ < a href ="/pkg/bytes/#Trim "> < code > Trim</ code > </ a > , < a href ="/pkg/bytes/#TrimLeft "> < code > TrimLeft</ code > </ a > ,
271
+ and < a href ="/pkg/bytes/#TrimRight "> < code > TrimRight</ code > </ a > are now allocation free and, especially for
272
+ small ASCII cutsets, up to 10 times faster.
272
273
</ p >
273
274
274
275
< p > <!-- CL 359485 -->
@@ -407,9 +408,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
407
408
TODO: < a href ="https://golang.org/cl/345849 "> https://golang.org/cl/345849</ a > : add Clone function
408
409
</ p >
409
410
410
- < p > <!-- CL 332771 -->
411
- < a href ="/pkg/bytes#Trim "> < code > strings.Trim</ code > </ a > and related functions
412
- functions, have had their most common use cases optimized.
411
+ < p > <!-- CL 332771, CL 323318 -->
412
+ < a href ="/pkg/strings/#Trim "> < code > Trim</ code > </ a > , < a href ="/pkg/strings/#TrimLeft "> < code > TrimLeft</ code > </ a > ,
413
+ and < a href ="/pkg/strings/#TrimRight "> < code > TrimRight</ code > </ a > are now allocation free and, especially for
414
+ small ASCII cutsets, up to 10 times faster.
413
415
</ p >
414
416
415
417
< p > <!-- CL 359485 -->
You can’t perform that action at this time.
0 commit comments