
6 Sep
2005
6 Sep
'05
8:13 p.m.
From: Joel Eidsath <jeidsath@gmail.com>
Daryle Walker wrote:
What about std::deque?
Will I need to insert objects at the front at any time?
It may need to grow and std::deque is more efficient at that than std::vector because it doesn't need to copy the existing data. OTOH, std::deque usually acquires more excess memory than std::vector when the string of digits is small. -- Rob Stewart stewart@sig.com Software Engineer http://www.sig.com Susquehanna International Group, LLP using std::disclaimer;