howto count lines - fast
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed May 31 10:23:46 PDT 2017
On 05/30/2017 11:50 PM, Daniel Kozak via Digitalmars-d-learn wrote:
> How do you compile it? When I use ldc2 -O3 -release -mcpu=bdver1 lc.d
> my code is even faster than wc
My bad: I'm not familiar with ldc's optimization options. (I used -O3
but not -release) Now I get the same performance as 'wc -l' when I add
-release.
Ali
More information about the Digitalmars-d-learn
mailing list