February 10, 2006 regex-dna speed | ||||
---|---|---|---|---|
| ||||
I was looking through the speed comparison results and noticed that compilers like C C++ and D all kinda fail the regex-dna bench, while fortan perl and python have no problems with it. http://shootout.alioth.debian.org/benchmark.php?test=regexdna&lang=all Why this enormous difference? (sorry if this is a really n00b question) |
February 10, 2006 Re: regex-dna speed | ||||
---|---|---|---|---|
| ||||
Posted in reply to mm | In article <dsglr5$2o1q$1@digitaldaemon.com>, mm says... > >I was looking through the speed comparison results and noticed that compilers like C C++ and D all kinda fail the regex-dna bench, while fortan perl and python have no problems with it. > >http://shootout.alioth.debian.org/benchmark.php?test=regexdna&lang=all > >Why this enormous difference? >(sorry if this is a really n00b question) > Basically I think it comes down to the implementations of the regex library substitution functions for the scripting languages.. Or in the case of Fortran, 261 lines of hand-optimized 'custom' code. |
Copyright © 1999-2021 by the D Language Foundation