To be clear, this is exactly what join does internally, right? And the advantage of this over using join is just that you also skip the unnecessary collection into a Vector{Char} ?
@stevengj is the winner ! @yha comes in second place
and I came in last
The foldl method is slowest because it does the most allocations. What’s particularly interesting is that the IOBuffer method uses about 1/3 the allocations of using join. And join uses about 1/2 the allocations of foldl.