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

Adding/removing items to std::list will result in extra allocations/deallocations.

It will also take up more space, to store that very pointer.

All of which starts to matter (a lot) when operating with very large data sets.




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

Search: