array traversal

Sean Kelly sean at f4.ca
Tue Mar 20 11:55:55 PDT 2007


arun wrote:
> i want to know during array traversal ,whether pointers do a
 > better job than indices

It depends on the platform and on the compiler.  Nowadays though, there 
generally isn't enough of a performance difference to matter either way. 
  Just write the code that looks the cleanest.


Sean



More information about the Digitalmars-d mailing list