SCIInstitute / Cleaver

A MultiMaterial Tetrahedral Meshing Library and Application
https://cleaver.readthedocs.io
Other
40 stars 18 forks source link

Replace usage of std::map with std::unordered_map #49

Open jonbronson opened 7 years ago

jonbronson commented 7 years ago

Cleaver's usage of maps has no ordering requirements. At the time of creation, c++11 std::unordered_map was not universally available. Switching to it now will provide a decent speedup to the background mesh creation steps that make use of the vertex map and vector map lookups.