- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IndexRabinKarp (0.06 sec)
-
src/bytes/bytes.go
// we should cutover at even larger average skips, // because Equal becomes that much more expensive. // This code does not take that effect into account. j := bytealg.IndexRabinKarp(s[i:], sep) if j < 0 { return -1 } return i + j } } return -1 } // Cut slices s around the first instance of sep, // returning the text before and after sep.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 35.6K bytes - Viewed (0)