Re: [fpc-pascal] regex-dna using PCRE

2007-11-07 Thread L
> Unfortunately, it's slightly slower than my fastest program that > uses the library that comes with FPC. I wonder if the dll was > compiled with all of the C compiler's optimiaztions turned on. May have to make an .O file.. For example static linking.. instead of dynamic. AFAIK one can link d

Re: [fpc-pascal] regex-dna using PCRE

2007-11-07 Thread Florian Klaempfl
S. Fisher schrieb: > Unfortunately, it's slightly slower Why? This is great if our library is fast :) > than my fastest program that > uses the library that comes with FPC. I wonder if the dll was > compiled with all of the C compiler's optimiaztions turned on. > > {$mode objfpc} > > uses pcr

[fpc-pascal] regex-dna using PCRE

2007-11-07 Thread S. Fisher
Unfortunately, it's slightly slower than my fastest program that uses the library that comes with FPC. I wonder if the dll was compiled with all of the C compiler's optimiaztions turned on. {$mode objfpc} uses pcre; // from www.renatomancuso.com/software/dpcre/dpcre.htm const patterns : array