Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You might not want to use deque because of how much memory it can use while still small, e.g. libc++s implementation uses a 4KiB page:

http://rextester.com/VIB96468

In the GNU stdlibc++ implementation the object itself is pretty large (and they use a page size of 512 bytes):

http://rextester.com/RHYKB83240



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

Search: