[linux-audio-dev] [ot] [rant] gcc, you let me down one time
nick.smethurst at free.fr
Mon Jun 6 09:22:47 EDT 2005
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.
More information about the linux-audio-dev