lo = hi + 1 + t[tip]
lo = hi + 1 - t[tip]
Almost the same algorithm, but in C instead of Go:
https://www-igm.univ-mlv.fr/~lecroq/string/node19.html
Almost the same algorithm, but in C instead of Go:
https://www-igm.univ-mlv.fr/~lecroq/string/node19.html