al Message -
From: "Gerhard Scholz" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions"
Sent: Friday, June 10, 2005 12:46 PM
Subject: Re: [fpc-pascal] Optimize code for speed
> - Original Message -
> From: "L505" <[EMAIL PROTECTED]>
>
- Original Message -
From: "L505" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions"
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. beg
L505 said:
> What is more optimized code?
The answer is "whatever your profiler says". Modern CPUs do so much
faffing with what the compiler gives them that the only way to really
know is to try it. Or if you're targetting specific (normally
embedded) hardware, look at the assembly language and wo