I want to do all the basics mutating things with strings: append, insert, replace

What is the D-ish way to do that since string is aliased to immutable(char)[]?

Using arrays, using ~ operator, always copying, changing, combining my strings into a new one? Does it make sense to think about reducing GC pressure?

I'm a bit lost in the possibilities and don't find any "that's the way to do it".

--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster

Reply via email to