[fpc-pascal] for loop vs while loop

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Feb 1 12:49:34 CET 2017


Hi,

Just curious (been in a discussion with somebody else). Is there a
performance difference between a FOR loop and a WHILE loop?

Not sure if it will make a difference, but the usage is with three
nested loops, iterating over some 300,000 plus data points in total.


Regards,
  Graeme




More information about the fpc-pascal mailing list