We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46882a8 commit b11a2bfCopy full SHA for b11a2bf
src/internal/bytealg/bytealg.go
@@ -26,7 +26,7 @@ var MaxLen int
26
27
// FIXME: the logic of IndexRabinKarpBytes and IndexRabinKarp are exactly the same,
28
// except that the types are different.
29
-// Can we eliminate three of them without causing allocation?
+// Can we eliminate one of them without causing allocation?
30
31
// PrimeRK is the prime base used in Rabin-Karp algorithm.
32
const PrimeRK = 16777619
0 commit comments