Hi,
I know that in normal cases those things has no matters, but I do much things in OnPaint so each millisecond is matter. For example, strings comparisons:
What is faster if string is "big":
if s'' then....
or:
if Length(s)>0 then...
Same thing with incrementations:
i := i + 1or:
Inc(i)
or:
i += 1;Regards
