Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
strings: adding micro-optimization for TrimSpace
replace for string's end trimming TrimFunc -> TrimRightFunc strings.TrimSpace string's end trimming should use more specific TrimRightFunc instead of common TrimFunc (because start has already trimmed before) Change-Id: I827f1a25c141e61edfe1f8b11f6e8cd685f8b384 GitHub-Last-Rev: 040607a GitHub-Pull-Request: #46862 Reviewed-on: https://go-review.googlesource.com/c/go/+/329731 Auto-Submit: Russ Cox <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Russ Cox <[email protected]> Reviewed-by: Russ Cox <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
- Loading branch information