Array performance question

Posted by Konrad on Stack Overflow See other posts from Stack Overflow or by Konrad
Published on 2010-03-31T15:09:48Z Indexed on 2010/03/31 15:13 UTC
Read the original article Hit count: 283

Filed under:
|
|

I am very familiar with STL vector (and other container) performance guarantees, however I can't seem to find anything concrete about plain arrays.

Are pointer arithmetic and [] methods constant or linear time?

© Stack Overflow or respective owner

Related posts about c++

Related posts about stl