4 ms·
This niche is exactly why I've used std::list in several cases. It allows fairly easy preallocation of list nodes. Fortunately, the single-node splice is stil
by ycombobreaker 5y ago
This niche is exactly why I've used std::list in several cases. It allows fairly easy preallocation of list nodes.
Fortunately, the single-node splice is still fast. But batch allocations, say related to some scatter/gather operations, would still be hit by this change.