foreach (i, range) { foo ~= bar; }
or: foo = foo ~ bar ~ baz ~ qux;I've used std.string.format(...) in some instances which sped things up which surprised me.
Are there faster ways of appending strings?
foreach (i, range) { foo ~= bar; }
or: foo = foo ~ bar ~ baz ~ qux;I've used std.string.format(...) in some instances which sped things up which surprised me.
Are there faster ways of appending strings?