[PATCH 0/3] Speed up hashing in demangled_names_hash
Christian Biesinger via gdb-patches
gdb-patches@sourceware.org
Fri Sep 27 19:19:00 GMT 2019
Use a faster hash function (via an optional dependency) and makes
equality comparison slightly faster (by comparing the length first).
Christian Biesinger (3):
Store the mangled name as a string_view
Add a fast_hash function in common-utils
Use libxxhash for hashing, if present
gdb/Makefile.in | 8 +-
gdb/config.in | 3 +
gdb/configure | 493 +++++++++++++++++++++++++++++++++++++++++++++++
gdb/configure.ac | 19 ++
gdb/symtab.c | 16 +-
gdb/utils.c | 15 ++
gdb/utils.h | 2 +
7 files changed, 547 insertions(+), 9 deletions(-)
--
2.23.0.444.g18eeb5a265-goog
More information about the Gdb-patches
mailing list