We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
String#+ in loop → String.build — Repeated String#+ creates new strings each iteration. Use String.build for efficient incremental building.
String#+
String.build
str = "" 10.times { str += "x" }
There was an error while loading. Please reload this page.