Regex benchmarks in Rust, Scala, D and F#

Gerald via Digitalmars-d digitalmars-d at puremagic.com
Tue Jan 5 11:10:27 PST 2016


On Tuesday, 5 January 2016 at 18:21:39 UTC, Basile B. wrote:
> On Tuesday, 5 January 2016 at 18:19:23 UTC, Gerald wrote:
>> I notice he's using readln() instead of readln(buf) in the D 
>> solution, would having D re-use the buffer make a substantial 
>> improvement in performance?
>
> Yep. It's a life-changer. There's a before and an after.

Tried it on my laptop, only shaved half a second off the total 
time, was hoping for more.




More information about the Digitalmars-d mailing list