2529799abb
When comparing strings in a case-insensitive way, strings.EqualFold() is (almost?) always faster than comparing the results of strings.ToLower(). In addition, strings.EqualFold() never causes an allocation. This patch replaces case-insensitive string comparisons that use strings.ToLower() with a strings.EqualFold() call. |
||
---|---|---|
.. | ||
bytes.go | ||
bytes_test.go | ||
merge.gen.go | ||
merge.gen.go.tmpl | ||
merge_test.go | ||
strings.go | ||
strings_test.go | ||
tmpldata |