Embarrassingly poor performance of regular point sets with std::unordered_set
On the topic of choosing a set-like container, most experienced C++ developers will tell you: “Use std::unordered_set
instead of std::set
. It’s more efficient. Certainly for large data sets.”