Re:Double-ended vector – is it useful?
by chillacy on Monday May 23, 2016 @01:52AM
(#11752160)
It might be of interest to mention that std::deque is implemented as a linked list of arrays: http://cpp-tip-of-the-day.blogspot.com/2013/11/how-is-stddeq...
[ Parent
| on HN ]
Note that std::deque is not really implemented as a linked list, as it would prevent O(1) random access. The classical implementation is as a dynamic array of pointers to fixed size chunks.
That's what he just said...
"linked list of arrays"...
"Dynamic array of fixed size chunks..."
They don't look the same to me. They do to you?