Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
igushev
· 7y ago · 0 comments
DEQs also allocate internal arrays with hardcoded size only (8 in std, if I remember correctly)
Comments
[–]
asdfasgasdgasdg
7y ago
At least in libc++ it's the greater of 4kB or 16 * sizeof(value_type). That's the default, it is configurable. 8 would be a pretty unfortunate design choice.
[–]
temac
7y ago
Can you also benchmark against std::deque?