[fpc-pascal] FPC now 3rd in shootout
peter at freepascal.org
Mon Nov 5 22:16:43 CET 2007
>> >> I submitted this regex-dna program on 2007-10-31. It's still in limbo:
>> >> neither accepted nor rejected.
>> > Thanks, I've added it to the fpc repository so the source will not be
>> For me the code didn't finish in a reasonable time. It spend too much time
>> in moving ansistrings
>> around. I have update the program to use a pchar instead of an ansistring
>> so it finishes within
>> reasonable time. The updated source can be found in:
>> But the code is a lot slower than gcc so there is still a lot of
>> performance tuning to do:
>> 100000 300000 500000
>> fpascal 1.169 4.581 11.754
>> gcc-2 1.033 3.078 5.111
> Much, much faster than the original. There was an off-by-one error
> that made the last line of the output incorrect.
Thanks, fix applied.
More information about the fpc-pascal