[Lazarus] IsFontNameDefault talk

Alexey aaa5500 at ya.ru
Sun Jun 4 14:36:29 CEST 2017


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



More information about the Lazarus mailing list