Juha,

you tell that "if LowerCase(s)='default'"

works faster than "if CompareText(s,'default')", but most of the fonts, dont start with letter "d" or "de"=> so CompareText takes one char only, LowerCase takes n chars=> LowerCase slower.

--
Regards,
Alexey

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to