@lifthrasiir is correct - I was intending to specialize `next_inner` on `longPeriod`. I haven't gotten around to benchmarking the difference yet, but I assumed it was worthwhile given that glibc manually inlines and specializes both this and `maximal_suffix` (for which I'm using a similar trick). Regardless, I downgraded these to `inline` from `inline(always)` while refactoring the code, and it didn't seem to affect performance much - I think that it is inlining anyway, as it can easily see that both functions are only called twice.