Re: stl performance question
- From: Ulrich Eckhardt <eckhardt@xxxxxxxxxxxxxx>
- Date: Fri, 30 Mar 2007 11:15:02 +0200
Ben wrote:
is it more efficient to insert elements at the end of a vector, or at
the beginning?
Removal and insertion anywhere except at the end are rather slow, hence no
push_front and pop_front functions. Other containers have different
characteristics.
Uli
.
- Prev by Date: ambiguous function call
- Next by Date: Re: msvcr71.dll and msvcr80.dll conflict?
- Previous by thread: ambiguous function call
- Next by thread: Re: Use DLL for get Windows Message?
- Index(es):