Thank you very much :)<div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/13 Mattias Gaertner <span dir="ltr"><<a href="mailto:nc-gaertnma@netcologne.de" target="_blank">nc-gaertnma@netcologne.de</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, 13 Dec 2012 22:32:06 +0100<br>
Krzysztof <<a href="mailto:dibo20@wp.pl">dibo20@wp.pl</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> I know that in normal cases those things has no matters, but I do much<br>
> things in OnPaint so each millisecond is matter. For example, strings<br>
> comparisons:<br>
><br>
> What is faster if string is "big":<br>
><br>
> if s<>'' then....<br>
><br>
> or:<br>
><br>
> if Length(s)>0 then...<br>
<br>
</div>The first.<br>
<div class="im"><br>
<br>
> Same thing with incrementations:<br>
><br>
> i := i + 1<br>
><br>
> or:<br>
><br>
> Inc(i)<br>
><br>
> or:<br>
><br>
> i += 1;<br>
<br>
</div>All the same.<br>
<br>
Mattias<br>
_______________________________________________<br>
fpc-pascal maillist - <a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a><br>
<a href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" target="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a><br>
<br>
</blockquote></div><br></div>