On Sun, 28 Dec 2014, Mattias Gaertner wrote:

On Sun, 28 Dec 2014 15:36:49 +0100 (CET)
Michael Van Canneyt <[email protected]> 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.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to