[fpc-pascal] Last missing benchmark: regex-dna

Vincent Snijders vsnijders at quicknet.nl
Tue Oct 3 11:10:45 CEST 2006

The regex-dna benchmark 
(http://shootout.alioth.debian.org/debian/benchmark.php?test=regexdna&lang=all) is 
the last missing benchmark.

Although fpc has a regexpr unit:
It has many todos, such as adding support for | in the search expression. So this 
unit doesn't have enough functionality. Is somebody willing to invest time in this 
unit to complete it?

An alternative could be to use the libc unit. But the fpc developers don't encourage 
its use and I cannot use it on windows, where I develop and improve the tests.

Then there is also synregexpr.pas:
But that is not distrubuted with fpc. And I don't know, if the license is open 
source. Is it looks likes a BSD derivative, but item 3, about income, doesn't seem 
to fit in.

How should this benchmark be implemented?


More information about the fpc-pascal mailing list