summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-02-26 11:30:13 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-02-26 11:30:13 +0000
commitb9ad17593511a6ea513c237bd4efd760c9fb762b (patch)
tree7ad47c3bc9e83216580843c7e5f0552187f482e8 /lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py
parentb84e158df7ff87d16141d798a47de3dc430036df (diff)
downloadbcm5719-llvm-b9ad17593511a6ea513c237bd4efd760c9fb762b.tar.gz
bcm5719-llvm-b9ad17593511a6ea513c237bd4efd760c9fb762b.zip
[Support] Replace HashString with djbHash.
This removes the HashString function from StringExtraces and replaces its uses with calls to djbHash from DJB.h This is *almost* NFC. While the algorithm is identical, the djbHash implementation in StringExtras used 0 as its seed while the implementation in DJB uses 5381. The latter has been shown to result in less collisions and improved avalanching. https://reviews.llvm.org/D43615 (cherry picked from commit 77f7f965bc9499a9ae768a296ca5a1f7347d1d2c) llvm-svn: 326081
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/macros/TestMacros.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud