diff --git a/src/internal/bytealg/bytealg.go b/src/internal/bytealg/bytealg.go index 01a85c2b94..ae4b8b48d2 100644 --- a/src/internal/bytealg/bytealg.go +++ b/src/internal/bytealg/bytealg.go @@ -26,7 +26,7 @@ var MaxLen int // FIXME: the logic of IndexRabinKarpBytes and IndexRabinKarp are exactly the same, // except that the types are different. -// Can we eliminate three of them without causing allocation? +// Can we eliminate one of them without causing allocation? // PrimeRK is the prime base used in Rabin-Karp algorithm. const PrimeRK = 16777619