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

Reply via email to