[fpc-devel] about commit r29324

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Dec 28 17:20:43 CET 2014


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".

Mattias



More information about the fpc-devel mailing list