On 11/13/07, Bruno Medeiros <brunodomedeiros+spam at com.gmail> wrote:
> How would the pointer idiom have any advantage in terms of performance??
> (versus say, structs with hasNext() and next() member functions)
To add to that, how would the pointer idiom have any advantage in
terms of performance over foreach?
T[] array;
foreach(element;array) { /*...*/ }