Erlang/Elixir string performance - can this be improved?

haha, yeah, it closes the hole but it still doesn’t feel great! :smiley: