3 ms·
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 s
by huhtenberg 6y ago
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.