On Tuesday, 15 September 2015 at 08:51:02 UTC, Fredrik Boulund wrote:
Using char[] all around might be a good idea, but it doesn't seem like the string conversions are really that taxing. What are the arguments for working on char[] arrays rather than strings?

No, casting to string would be incorrect here because the line buffer is reused, your original usage of to!string is correct.

Reply via email to