howto count lines - fast

Nitram via Digitalmars-d-learn digitalmars-d-learn at
Tue May 30 13:02:38 PDT 2017

After reading 
, i was wondering how fast one can do a simple "wc -l" in D.

So i made a couple short implementations and found myself 
confronted with slow results compared to "/usr/bin/wc -l".

How would a implementation look like in D, which is fast?

More information about the Digitalmars-d-learn mailing list