`str_replace` or `strtr` will both be faster than `String::insert()`.