mirror of https://github.com/perkeep/perkeep.git
c9027c2c7f
Remove assumption that both strings have the same byte length. Add the Kelvin sign to the tests. BenchmarkHasSuffixFoldToLower-4 3000000 482 ns/op 2 allocs/op BenchmarkHasSuffixFold-4 10000000 130 ns/op 0 allocs/op The same holds for HasPrefixFold: BenchmarkHasPrefixFoldToLower-4 2000000 599 ns/op 2 allocs/op BenchmarkHasPrefixFold-4 10000000 139 ns/op 0 allocs/op Change-Id: I613f86b59285ccf177d3e3be597202551a0aa64c |
||
---|---|---|
.. | ||
intern.go | ||
strconv.go | ||
strutil.go | ||
strutil_test.go |