Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread Marco van de Voort
> > But we don't have, and may never have, one that is as fast and > bug-free as pcre and that is compatible with pcre. The user > of a library doesn't care whether it's written in Pascal or C. True. But if native, it isn't a library but linked into the main (static) binary, with all deployment

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread S. Fisher
--- L <[EMAIL PROTECTED]> wrote: > > >> Ok, now somebody has to fix the regexpr unit and accelerate it *g* > > > > > > The C program in the shootout uses pcre (Perl-compatible > > > regular expressions). It would be very nice if FPC came > > > with pcre. > > > > Well, that way we can never win

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread L
> >> Ok, now somebody has to fix the regexpr unit and accelerate it *g* > > > > The C program in the shootout uses pcre (Perl-compatible > > regular expressions). It would be very nice if FPC came > > with pcre. > > Well, that way we can never win :) Anyways, I think having an libc > independent

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread S. Fisher
--- Florian Klaempfl <[EMAIL PROTECTED]> wrote: > S. Fisher schrieb: > > --- Florian Klaempfl <[EMAIL PROTECTED]> wrote: > > > > > >> Ok, now somebody has to fix the regexpr unit and accelerate it *g* > > > > The C program in the shootout uses pcre (Perl-compatible > > regular expressions). I

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread L
> The C program in the shootout uses pcre (Perl-compatible > regular expressions). It would be very nice if FPC came > with pcre. I am also looking to ship PCRE with Powtils too since TRegexp isn't the best in all situations. We wrapped Tregexp too: http://z505.com/cgi-bin/powtils/docs/1.6/idx.c

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread L
> The compiler uses shortstrings internally, which are the fastest string > type. Pchars are between ansistrings and strings, but offer the least > comfort of all. Also WordString or LongIntString would be as fast or faster than a 255 Bytestring.. But haven't implemented or supplied a patch yet ;

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread Florian Klaempfl
Daniël Mantione schrieb: > > Op Tue, 6 Nov 2007, schreef Florian Klaempfl: > >> S. Fisher schrieb: >>> --- Florian Klaempfl <[EMAIL PROTECTED]> wrote: >>> >>> Ok, now somebody has to fix the regexpr unit and accelerate it *g* >>> The C program in the shootout uses pcre (Perl-compatible >>> r

RE: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread Helmut Hartl
> Op Tue, 6 Nov 2007, schreef Florian Klaempfl: > > S. Fisher schrieb: > > > --- Florian Klaempfl <[EMAIL PROTECTED]> wrote: > > > > > >> Ok, now somebody has to fix the regexpr unit and > accelerate it *g* > > If we want to win we could build in compler support and > compile the regu

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread Daniël Mantione
Op Tue, 6 Nov 2007, schreef Florian Klaempfl: > S. Fisher schrieb: > > --- Florian Klaempfl <[EMAIL PROTECTED]> wrote: > > > > > >> Ok, now somebody has to fix the regexpr unit and accelerate it *g* > > > > The C program in the shootout uses pcre (Perl-compatible > > regular expressions). It

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread Florian Klaempfl
S. Fisher schrieb: > --- Florian Klaempfl <[EMAIL PROTECTED]> wrote: > > >> Ok, now somebody has to fix the regexpr unit and accelerate it *g* > > The C program in the shootout uses pcre (Perl-compatible > regular expressions). It would be very nice if FPC came > with pcre. Well, that way we c

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread S. Fisher
--- Florian Klaempfl <[EMAIL PROTECTED]> wrote: > > Ok, now somebody has to fix the regexpr unit and accelerate it *g* The C program in the shootout uses pcre (Perl-compatible regular expressions). It would be very nice if FPC came with pcre. _

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread Flávio Etrusco
> The compiler uses shortstrings internally, which are the fastest string > type. Pchars are between ansistrings and strings, but offer the least > comfort of all. With the exception that not having a compiler flag to check shorstrings' overflows make for for some tricky to debug problems ;-) -Fl

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread Daniël Mantione
Op Tue, 6 Nov 2007, schreef L: > The funny thing I see is everyone recommending Pchars. Why not > setlength/uniquestring? Still too slow? Memory management, especially when you get reallocations, is expensive. With case ansistrings can perform well. However, you do have to care, and Pchars ca

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread Florian Klaempfl
L schrieb: There has been a long discussion on the Shootout forums about it. Isaac believes that it is more fair this way for languages that don't have all benchmarks implemented. Now we simply have to make him retract all our poor performing programs :) >>> Exactly. A not very

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread L
> > > There has been a long discussion on the Shootout forums about it. Isaac > > > believes that it is more fair this way for languages that don't have all > > > benchmarks implemented. Now we simply have to make him retract all our > > > poor performing programs :) > > > > Exactly. A not very fa

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-06 Thread Flávio Etrusco
On 11/6/07, S. Fisher <[EMAIL PROTECTED]> wrote: > > --- Dani�l Mantione <[EMAIL PROTECTED]> wrote: > > > > Is it true that a slow program has a worse effect on the shootout > > > results than a missing program? That seems wrong to me. > > > > There has been a long discussion on the Shootout forum

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread S. Fisher
--- Dani�l Mantione <[EMAIL PROTECTED]> wrote: > > Is it true that a slow program has a worse effect on the shootout > > results than a missing program? That seems wrong to me. > > There has been a long discussion on the Shootout forums about it. Isaac > believes that it is more fair this wa

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread S. Fisher
--- Peter Vreman <[EMAIL PROTECTED]> wrote: > reasonable time. The updated source can be found in: > > http://svn.freepascal.org/svn/fpc/trunk/tests/bench/shootout/src/regexdna.pp > > But the code is a lot slower than gcc so there is still a lot of > performance tuning to do: > >

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread S. Fisher
--- Marc Weustink <[EMAIL PROTECTED]> wrote: > > if not GenerateRegExprEngine( target, [ref_caseinsensitive], engine) > then > > begin > > writeln( 'Failed to generate regex. engine for "',target,'".' ); > > halt(1) > > end; > > For this benchmark you don't need extra unneeded cod

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread S. Fisher
--- Vincent Snijders <[EMAIL PROTECTED]> wrote: > S. Fisher schreef: > > > > Is it true that a slow program has a worse effect on the shootout > > results than a missing program? That seems wrong to me. > > To me is seems wrong too, but is nevertheless the case. Right. A missing program shou

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Marc Weustink
S. Fisher wrote: --- Marco van de Voort <[EMAIL PROTECTED]> wrote: http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all The reason is that D's mean degraded from 1.40 to 1.43. I wonder how that could happen. They change often. Clean is also quite variable. I assume the diffe

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Vincent Snijders
S. Fisher schreef: Is it true that a slow program has a worse effect on the shootout results than a missing program? That seems wrong to me. To me is seems wrong too, but is nevertheless the case. Look carefully at the scoring rules at http://shootout.alioth.debian.org/gp4/benchmark.php?tes

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Daniël Mantione
Op Mon, 5 Nov 2007, schreef S. Fisher: > > --- Peter Vreman <[EMAIL PROTECTED]> wrote: > > > > 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: > > > > > http://svn.freepascal.org/svn/

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread S. Fisher
--- Peter Vreman <[EMAIL PROTECTED]> wrote: > 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: > > http://svn.freepascal.org/svn/fpc/trunk/tests/bench/shootout/src/regexdna.pp > > But the co

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Michael Van Canneyt
On Mon, 5 Nov 2007, Florian Klaempfl wrote: > Peter Vreman schrieb: > > 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 > >>> lost > >>> > >>> For me th

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Florian Klaempfl
Peter Vreman schrieb: > 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 >>> lost >>> >>> For me the code didn't finish in a reasonable time. It spend too much

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Peter Vreman
>> >> 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 >> lost >> >> For me the code didn't finish in a reasonable time. It spend too much time >> in moving an

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread S. Fisher
--- Peter Vreman <[EMAIL PROTECTED]> wrote: > >> > >> --- Marco van de Voort <[EMAIL PROTECTED]> wrote: > >> > >>> > http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all > >>> > > >>> > The reason is that D's mean degraded from 1.40 to 1.43. I wonder how > >>> > that could happe

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Peter Vreman
>> >> --- Marco van de Voort <[EMAIL PROTECTED]> wrote: >> >>> > http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all >>> > >>> > The reason is that D's mean degraded from 1.40 to 1.43. I wonder how >>> > that could happen. >>> >>> They change often. Clean is also quite variable.

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Peter Vreman
> > --- Marco van de Voort <[EMAIL PROTECTED]> wrote: > >> > http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all >> > >> > The reason is that D's mean degraded from 1.40 to 1.43. I wonder how >> > that could happen. >> >> They change often. Clean is also quite variable. I assume

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Vincent Snijders
S. Fisher schreef: --- Florian Klaempfl <[EMAIL PROTECTED]> wrote: S. Fisher schrieb: --- Marco van de Voort <[EMAIL PROTECTED]> wrote: http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all The reason is that D's mean degraded from 1.40 to 1.43. I wonder how that could happ

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread S. Fisher
--- Florian Klaempfl <[EMAIL PROTECTED]> wrote: > S. Fisher schrieb: > > --- Marco van de Voort <[EMAIL PROTECTED]> wrote: > > > >>> http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all > >>> > >>> The reason is that D's mean degraded from 1.40 to 1.43. I wonder how > >>> that

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Florian Klaempfl
S. Fisher schrieb: > --- Marco van de Voort <[EMAIL PROTECTED]> wrote: > >>> http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all >>> >>> The reason is that D's mean degraded from 1.40 to 1.43. I wonder how >>> that could happen. >> They change often. Clean is also quite variable

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread S. Fisher
--- Marco van de Voort <[EMAIL PROTECTED]> wrote: > > http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all > > > > The reason is that D's mean degraded from 1.40 to 1.43. I wonder how > > that could happen. > > They change often. Clean is also quite variable. I assume the diff

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Vincent Snijders
Marco van de Voort schreef: http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all The reason is that D's mean degraded from 1.40 to 1.43. I wonder how that could happen. They change often. Clean is also quite variable. I assume the differences are simply in the magnitude of th

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Bee
They change often. Clean is also quite variable. I assume the differences are simply in the magnitude of the uncertainty of the measuring. No, I don't think so. I think it depends on weight you give to each benchmark. I always set all weight to 1 and consistently I got fpc always on the first

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Marco van de Voort
> http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all > > The reason is that D's mean degraded from 1.40 to 1.43. I wonder how > that could happen. They change often. Clean is also quite variable. I assume the differences are simply in the magnitude of the uncertainty of the me

[fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread S. Fisher
http://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all The reason is that D's mean degraded from 1.40 to 1.43. I wonder how that could happen. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://