Regex benchmarks in Rust, Scala, D and F#

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


On Tuesday, 5 January 2016 at 17:52:39 UTC, Karthikeyan wrote:
> Hi,
>
> Came across this post in rust-lang subreddit about the regex 
> benchamrks. Scala surprisingly outperforms D. LDC also gives a 
> good advantage for efficiency of D.
>
> http://vaskir.blogspot.ru/2015/09/regular-expressions-rust-vs-f.html

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?


More information about the Digitalmars-d mailing list