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 + 1

or:

Inc(i)

or:

i += 1;

Regards
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to