Module odds::slice [] [src]

Extra functions for slices

Functions

shared_prefix

Return the end index of the longest shared (equal) prefix of a and b.