diff --git a/src/internal/bytealg/index_arm64.go b/src/internal/bytealg/index_arm64.go index 251e63567e3..e87c109519e 100644 --- a/src/internal/bytealg/index_arm64.go +++ b/src/internal/bytealg/index_arm64.go @@ -4,7 +4,7 @@ package bytealg -// Empirical data shows that using IndexShortStr can get better +// Empirical data shows that using Index can get better // performance when len(s) <= 16. const MaxBruteForce = 16 @@ -14,7 +14,7 @@ func init() { } // Cutover reports the number of failures of IndexByte we should tolerate -// before switching over to IndexShortStr. +// before switching over to Index. // n is the number of bytes processed so far. // See the bytes.Index implementation for details. func Cutover(n int) int {