Skip to content

Move from map to unordered_map, improve data locality

Stewart Martin-Haugh requested to merge smh/athena:BSErrors_unordered_map into master

The map::less method called in SCT_ByteStreamErrorsTool was coming up very high in a profile I ran today. Moving to unordered_map gives an easy factor of 3 improvement.

before after

Edited by Stewart Martin-Haugh

Merge request reports