How would you feel about avoiding the array and join in this case and just building up the string directly? I've tried to purge any extra allocations from the hot path.