Some functions are needlessy slow, e.g. `String.cuts_{right,left}`. A bit of `unsafe_get` seems due, aswell as avoiding some allocations.