Simulator programs and utilities for automatic differentiation.
Go to file
Andreas Lauser 7a729e73ac ECL peaceman well: replace std::unordered_map by std::map
say 99.95% of all time: premature optimization is the root of all
evil.

in this case it turned out that iterating over a std::unordered_map is
very slow and that this is a quite common operation in
ebos. Fortunately the fix for this problem is very simple: use the
tree-based std::map instead of the hash function based
std::unordered_map.

on SPE9 this yielded a performance improvement of about 10% on my
machine...
2015-02-12 12:26:03 +01:00
applications/ebos ECL peaceman well: replace std::unordered_map by std::map 2015-02-12 12:26:03 +01:00