David Cournapeau a écrit :
I always though myself that vector are slower than C
array if use
right, some other people more knowledgable than me tell me the
contrary, but I havn't see any code or real case that prove it.
std::vector should compile to a C array when compiling with -O3 (or -O2
-finline-functions). There should be no difference in speed.