
20 Oct
2008
20 Oct
'08
12:44 a.m.
It seems that basic_slice iterators are indexed, they store an integral index and dereference looks like: return (*this) ().start () + it_* (*this) ().stride (); This seems to kill performance. Is there any good reason why slice iterators could not be based on pointers? If it were, the most common use, which would iterate using 'it++' should be faster.