Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
foma-roje
· 3y ago · 0 comments
An often missed c++ Container is std::deque, which has constant O(1) complexities in adding and removing from front and back, and accessing random elements. This is missing in the article.
Comments
[–]
mike_hock
3y ago
Which only has a reasonable implementation in one of the three major stdlibs (libc++).
[–]
nly
3y ago
Boosts implementation has a configurable block size.
[–]
mgaunard
3y ago
The libstdc++ one is also pretty good.