File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -304,9 +304,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
304
304
305
305
< dl id ="bytes "> < dt > < a href ="/pkg/bytes/ "> bytes</ a > </ dt >
306
306
< dd >
307
- < p > <!-- CL 332771 -->
308
- < a href ="/pkg/bytes#Trim "> < code > bytes.Trim</ code > </ a > and related
309
- functions, have had their most common use cases optimized.
307
+ < p > <!-- CL 323318, CL 332771 -->
308
+ < a href ="/pkg/bytes/#Trim "> < code > Trim</ code > </ a > , < a href ="/pkg/bytes/#TrimLeft "> < code > TrimLeft</ code > </ a > ,
309
+ and < a href ="/pkg/bytes/#TrimRight "> < code > TrimRight</ code > </ a > are now allocation free and, especially for
310
+ small ASCII cutsets, up to 10 times faster.
310
311
</ p >
311
312
312
313
< p > <!-- CL 359485 -->
@@ -447,9 +448,10 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
447
448
the input string's memory.
448
449
</ p >
449
450
450
- < p > <!-- CL 332771 -->
451
- < a href ="/pkg/bytes#Trim "> < code > strings.Trim</ code > </ a > and related functions
452
- functions, have had their most common use cases optimized.
451
+ < p > <!-- CL 323318, CL 332771 -->
452
+ < a href ="/pkg/strings/#Trim "> < code > Trim</ code > </ a > , < a href ="/pkg/strings/#TrimLeft "> < code > TrimLeft</ code > </ a > ,
453
+ and < a href ="/pkg/strings/#TrimRight "> < code > TrimRight</ code > </ a > are now allocation free and, especially for
454
+ small ASCII cutsets, up to 10 times faster.
453
455
</ p >
454
456
455
457
< p > <!-- CL 359485 -->
You can’t perform that action at this time.
0 commit comments