Hacker News new | past | comments | ask | show | jobs | submit login

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.



Which only has a reasonable implementation in one of the three major stdlibs (libc++).


Boosts implementation has a configurable block size.


The libstdc++ one is also pretty good.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: