Op Wed, 31 Oct 2007, schreef Vincent Snijders:
> Florian Klaempfl schreef:
> > Vincent Snijders schrieb:
> >
> > Why not SetLength(s,i)? StrLen is _very_ expensive. I don't see a way
> > how another #0 can be before.
>
> No more strlen:
> http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=1432
One more possible speedup: Why are you using strlower and strlcomp instead
of lowercase/pos? The latter ones are probably faster and they don't care
of code pages which are not relevant in this example.
Daniël
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal