Yeah those utility methods will be inlined anyway by the compiler. But copy+paste (with a comment for attribution) is still probably the right tool here.
I like the idea of adding a slice type. What use case do you have in mind for that?
I like the idea of adding a slice type. What use case do you have in mind for that?