D
Daniel
Hi,
I have a question regarding the memory managment in stl stacks. I want
to use stacks to store a very large amount of numbers (some millions),
thus I'm interested in how the stack behaves when it has to increase
its memory.
container is a deque that has amortized constant time insertion and
removal of elements.
I'd like to know, how this is in detail implemented. If anybody knows
also how much memory is averagely wasted.
Thanks and regards,
Daniel Stengler
I have a question regarding the memory managment in stl stacks. I want
to use stacks to store a very large amount of numbers (some millions),
thus I'm interested in how the stack behaves when it has to increase
its memory.
http://www.sgi.com/tech/stl/stack.html, the stacks default underlyingFrom what I read in the stl-documentation
container is a deque that has amortized constant time insertion and
removal of elements.
I'd like to know, how this is in detail implemented. If anybody knows
also how much memory is averagely wasted.
Thanks and regards,
Daniel Stengler