Community
Post
💎Ruby: String concatenation performance
Sebastien Auriault
Jul 23, 2022
Did you know that concatenating strings together ("a" << "b") is a lot more performant than adding them to each other ("a" + "b") or using interpolation ("#{a}#{b}")? Especially with the recent optimizations from
@_byroot
and others.
0