Thank you very much :)
2012/12/13 Mattias Gaertner <nc-gaert...@netcologne.de> > On Thu, 13 Dec 2012 22:32:06 +0100 > Krzysztof <dib...@wp.pl> wrote: > > > 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... > > The first. > > > > Same thing with incrementations: > > > > i := i + 1 > > > > or: > > > > Inc(i) > > > > or: > > > > i += 1; > > All the same. > > Mattias > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal