[PATCH] D122974: prevent ConstString from calling djbHash() more than once

Luboš Luňák via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 22 00:36:23 PDT 2022


llunak updated this revision to Diff 431216.
llunak added a comment.

- add a function for selecting a pool in ConstString
- use uint32_t for hash in StringMap API


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122974/new/

https://reviews.llvm.org/D122974

Files:
  lldb/source/Utility/ConstString.cpp
  llvm/include/llvm/ADT/StringMap.h
  llvm/lib/Support/StringMap.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122974.431216.patch
Type: text/x-patch
Size: 9958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220522/508006c2/attachment-0001.bin>


More information about the llvm-commits mailing list