
8 Aug
2008
8 Aug
'08
9:44 a.m.
Yes, iterators if available make our code clean and elegant and without
overhead. We use iterators even on STL::vector. They are great.
The minimum overhead you have with indexes is to calculate the address
(char *)array + i*sizeof(row) + j*sizeof(item)
And to double the increment and loop check since you have two variables
++i, i