Kudos to Juan Manuel Cabo http://forum.dlang.org/post/cddkatcqmdtibcmfljff@forum.dlang.org
This piece of code is in public domain.
Reads by line in an efficient way (10 times faster than File.byLine from std.stdio). This is accomplished by reading entire buffers (fgetc() is not used), and allocating as little as possible.
See Source File
Kudos to Juan Manuel Cabo http://forum.dlang.org/post/cddkatcqmdtibcmfljff@forum.dlang.org
This piece of code is in public domain.