[fpc-devel] about commit r29324
Michael Van Canneyt
michael at freepascal.org
Sun Dec 28 17:33:39 CET 2014
On Sun, 28 Dec 2014, Mattias Gaertner wrote:
> On Sun, 28 Dec 2014 15:36:49 +0100 (CET)
> Michael Van Canneyt <michael at freepascal.org> wrote:
>
>> [...]
>> People really don't seem to get booleans, and why they scorn "While" is beyond me. All these ugly "break" statements :(
>>
>> You may optimize even more by calculating Max:=pred(dims) once and doing I<=Max;
>
> Isn't "for" easier to optimize for the compiler than "while".
Now you're asking too much, I do not know this. At least the for code has 2 branches more than my code :)
Michael.
More information about the fpc-devel
mailing list