On 3/22/15 3:10 AM, Vladimir Panteleev wrote:
On Sunday, 22 March 2015 at 07:03:14 UTC, Andrei Alexandrescu wrote:* 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)
No matter, the static buffer is copied into the result. -- Andrei
