Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
beerscout
· 13y ago · 0 comments
Not everybody will agree. One of the main advantages of std::list is splicing that can be done in O(1) if the size is
not
stored.
Comments
[–]
protomyth
13y ago
If the standard says it needs to be O(1) then you implement it that way and have a different list for fast splicing if needed.