This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH v2 0/3] Speed up hashing in demangled_names_hash
- From: "Christian Biesinger via gdb-patches" <gdb-patches at sourceware dot org>
- To: gdb-patches at sourceware dot org
- Cc: Christian Biesinger <cbiesinger at google dot com>
- Date: Tue, 8 Oct 2019 11:09:30 -0500
- Subject: [PATCH v2 0/3] Speed up hashing in demangled_names_hash
- Reply-to: Christian Biesinger <cbiesinger at google dot com>
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