string mixup problem with stdin.byLine
torea via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Aug 10 00:25:14 PDT 2016
On Monday, 8 August 2016 at 16:30:39 UTC, Meta wrote:
> Alternatively you can use std.stdio.byLineCopy and don't need
> to add the `to!string`. If you are calling to!string on ever
> line there will probably be no performance difference, but if
> you are not, such as only calling to!string on every *second*
> line or something like that, you should stick with byLine and
> calling to!string when needed.
Thanks for the additional tip!
More information about the Digitalmars-d-learn
mailing list