Making byLine faster: we should be able to delegate this

Vladimir Panteleev via Digitalmars-d digitalmars-d at
Sun Mar 22 03:10:09 PDT 2015

On Sunday, 22 March 2015 at 07:03:14 UTC, Andrei Alexandrescu 
> * For each line read there was a call to malloc() and one to 
> free(). I set things up that the buffer used for reading is 
> reused by simply making the buffer static.

What about e.g.

zip(File("a.txt").byLine, File("b.txt").byLine)

More information about the Digitalmars-d mailing list