public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Speed up hashing in demangled_names_hash
@ 2019-10-08 16:09 Christian Biesinger via gdb-patches
  2019-10-08 16:09 ` [PATCH v2 2/3] Add a fast_hash function in common-utils Christian Biesinger via gdb-patches
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Christian Biesinger via gdb-patches @ 2019-10-08 16:09 UTC (permalink / raw)
  To: gdb-patches; +Cc: Christian Biesinger

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-08 16:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-08 16:09 [PATCH v2 0/3] Speed up hashing in demangled_names_hash Christian Biesinger via gdb-patches
2019-10-08 16:09 ` [PATCH v2 2/3] Add a fast_hash function in common-utils Christian Biesinger via gdb-patches
2019-10-08 16:09 ` [PATCH v2 1/3] Store the mangled name as a string_view Christian Biesinger via gdb-patches
2019-10-08 16:09 ` [PATCH v2 3/3] Use libxxhash for hashing, if present Christian Biesinger via gdb-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).