aboutsummaryrefslogtreecommitdiff
path: root/libiberty/mpw.c
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-09-26 14:45:47 -0500
committerChristian Biesinger <cbiesinger@google.com>2019-09-26 14:46:16 -0500
commitf55c45b19bbfa2ab3a9d0ff703e4ad589e5fe4df (patch)
tree2de7e76fb1819a51b3f0cee972f565e579c09368 /libiberty/mpw.c
parentececd218c5254902db3301d700546f6702112c85 (diff)
downloadgdb-users/cbiesinger/stl_minsyms_hash.zip
gdb-users/cbiesinger/stl_minsyms_hash.tar.gz
gdb-users/cbiesinger/stl_minsyms_hash.tar.bz2
Try converting ad-hoc msymbol hash tables to STL containersusers/cbiesinger/stl_minsyms_hash
I went with multimap (also tried unordered_multimap) to keep the behavior where we have a special hash key and want to iterate over everything with that hash using specialized compare functions. Unfortunately this is a 10% regression. real 0m56.538s user 0m34.304s sys 0m22.380s real 0m51.655s user 0m32.194s sys 0m19.528s
Diffstat (limited to 'libiberty/mpw.c')
0 files changed, 0 insertions, 0 deletions