Op Fri, 10 Jun 2005, schreef Florian Klaempfl:

> Joost van der Sluis wrote:
>
> > Hi all,
> >
> > I don't know if rtl-optimilisation patches have a large priority,
>
> It depends if someone does it ;)
>
> > but
> > nevertheless this patch improves the speed of the sysutils.uppercase and
> > lowercase functions.
>
> What about creating a table which does direct mapping? It's a lot faster.

It would be faster, but it would require two 256-byte tables, which'll
help make people complain about code size even more. I would do it in an
inner loop, but upper/lower case conversions are seldomly called in an
inner loop. It also does some cache trashing, which is an often ignored
speed issue in programming.

Dani�l


_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to