commit | f204403778e9ab245016285d10c5aeeed72172a2 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Thu Mar 17 05:12:30 2022 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Mar 22 21:14:40 2022 +0000 |
tree | 7e78dbd5250828a623f1fe6a2d667b5dd203a28b | |
parent | 374b008bce0346c3efdf4fa309badc924a002e30 [diff] |
switch map to unordered_map Generally, unordered_maps should be preferred over map because they have faster access times (O(1)) and tend to allocate less dynamic memory. We do not rely on ordered iteration in any current use of maps, so it is safe to do a full replace. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ieaa28ac7f70f9913d13d25142fea9861d49bb23f