From b11a2bf9476d54bed4bd18a3f9269b5c95a66d67 Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Fri, 27 Oct 2023 23:00:23 +0800 Subject: [PATCH] three => one --- src/internal/bytealg/bytealg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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