C
Christian Chrismann
Hi,
someone told me that STL const_iterators are faster than non-const
iterators. Is this really true? And if so, why?
I though that const_iterators should be used when possible in
order to avoid side effects (no accidental writes). But I never heard
of a speed-up.
Regards,
Chris
someone told me that STL const_iterators are faster than non-const
iterators. Is this really true? And if so, why?
I though that const_iterators should be used when possible in
order to avoid side effects (no accidental writes). But I never heard
of a speed-up.
Regards,
Chris