This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH v2 0/3] Speed up hashing in demangled_names_hash


Use a faster hash function (via an optional dependency) and makes
equality comparison slightly faster (by comparing the length first).

Changes from v1:
- Rebased
- fast_hash now does not require nulltermination
- Updated commit message & benchmark data for patch 3/3

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      |  14 ++
 gdb/utils.h      |   2 +
 7 files changed, 546 insertions(+), 9 deletions(-)

-- 
2.23.0.581.g78d2f28ef7-goog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]