3 ms·
This reddit post is such a shame, and I wish people would stop referring to it. The benchmarking code is not apples to apples at all in many places. E.g. to be
by orlp 5y ago
This reddit post is such a shame, and I wish people would stop referring to it. The benchmarking code is not apples to apples at all in many places.
E.g. to benchmark removals they used `container.remove(index)` for data structures that support indices but for slotmap they used `slotmap.remove(keys[index])` which unfairly adds another layer of indirection.