ResInsight icon indicating copy to clipboard operation
ResInsight copied to clipboard

Janitor: Replace std::vector<std::pair with std::map

Open magnesj opened this issue 1 year ago • 0 comments

We use the construct std::vector<std::pair<T, U>> several places in the code. Consider replace with simpler structure std::unordered_map<T, U> if no sorting is required. Also investigate if std::map can be replaced with std::unordered_map

magnesj avatar May 25 '23 09:05 magnesj