Re: [linux-audio-dev] [ot] [rant] gcc, you let me down one time too many

From: N Smethurst <nick.smethurst@email-addr-hidden>
Date: Mon Jun 06 2005 - 16:22:47 EEST

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.
Received on Mon Jun 6 20:15:05 2005

This archive was generated by hypermail 2.1.8 : Mon Jun 06 2005 - 20:15:06 EEST