[fpc-devel] Patch to speed up Uppercase/Lowercase functions

Michael Van Canneyt michael at freepascal.org
Fri Jun 10 20:42:28 CEST 2005

On Fri, 10 Jun 2005, Joost van der Sluis wrote:

> Hi all,
> I don't know if rtl-optimilisation patches have a large priority, but
> nevertheless this patch improves the speed of the sysutils.uppercase and
> lowercase functions.

I fail to see how changing a while loop to a for loop improves speed ?
I could understand if you'd use a PChar and use pointer math, but not this ?


More information about the fpc-devel mailing list