[fpc-pascal] Optimize code for speed
Gerhard Scholz
gs at g--s.de
Mon Jun 13 11:21:24 CEST 2005
I don't know why my email has been destroyed a bit (my assumption is that
this is done by the list manager program).
Example 2 should have looked as this (now in one line):
2: begin StrList3.add (do.something); end
Why everything after .add did vanish I don't know.
----- Original Message -----
From: "Gerhard Scholz" <gs at g--s.de>
To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
Sent: Friday, June 10, 2005 12:46 PM
Subject: Re: [fpc-pascal] Optimize code for speed
> ----- Original Message -----
> From: "L505" <fpc505 at z505.com>
> To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
> Sent: Friday, June 10, 2005 10:18 AM
> Subject: [fpc-pascal] Optimize code for speed
>
> ...
> > 1. begin
> > M yString=Do.Something
> > StrList3.add(MyString);
> > end
> >
> > 2. begin
> > StrList3.add
> > end
> >
> I assume you mean:
>
> 1: begin
> M yString=Do.Something
> StrList3.add(MyString);
> end
>
> 2: begin
> S trList3.add
> end
>
...
More information about the fpc-pascal
mailing list