mirror of https://github.com/golang/go.git
three => one
This commit is contained in:
parent
46882a8f42
commit
b11a2bf947
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue