Boost logo

Boost :

Subject: Re: [boost] [container] boost::container::vector, hybrid_vector, and performance
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2013-02-13 03:25:53

On Wed, Feb 13, 2013 at 1:38 AM, Ion Gaztañaga <igaztanaga_at_[hidden]> wrote:
> I saw that varray has some optimizations for trivial types (dispatching to
> memcpy) that boost::container misses.

Shouldn't a decent STL implementation do that automatically? AFAIR,
STLPort's std::copy would resort to memcpy when possible. Don't other
implementations do the same thing?

Boost list run by bdawes at, gregod at, cpdaniel at, john at