[ODE] RE: ALLOCA
Shaul Kedem
shaul_kedem at yahoo.com
Sat Feb 28 01:34:58 MST 2004
The moral is actually "don't use STL for anything you
need good performance with". I am with Mark on that
one
Shaul
--- John Miles <jmiles at pop.net> wrote:
> > An STL vector is good for single threaded stuff
> and
> > even then you need to be very careful with it (it
> has
> > the tendency to call the copy constructor of the
> > value's class in order to move objects around)...
>
> Well, you'd be in a world of hurt if it didn't!
>
> Moral: don't expect top performance from blindly
> using containers on classes
> that have copy constructors.
>
> -- jm
>
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools
More information about the ODE
mailing list