It performs better to use unordered_map than std::map here.

Change-Id: I5b89ac2dfbe348f0bf0b07880ccddc734b6d14ab