Commit 043fe3c1 by Abseil Team Committed by Copybara-Service

Update LowLevelHash comment regarding number of hash state variables.

PiperOrigin-RevId: 671385555
Change-Id: Ic98587062de121f127a56fecf2c494a82c6350ba
parent f7f31682
...@@ -40,8 +40,8 @@ uint64_t LowLevelHashLenGt16(const void* data, size_t len, uint64_t seed, ...@@ -40,8 +40,8 @@ uint64_t LowLevelHashLenGt16(const void* data, size_t len, uint64_t seed,
if (len > 64) { if (len > 64) {
// If we have more than 64 bytes, we're going to handle chunks of 64 // If we have more than 64 bytes, we're going to handle chunks of 64
// bytes at a time. We're going to build up two separate hash states // bytes at a time. We're going to build up four separate hash states
// which we will then hash together. // which we will then hash together. This avoids short dependency chains.
uint64_t duplicated_state0 = current_state; uint64_t duplicated_state0 = current_state;
uint64_t duplicated_state1 = current_state; uint64_t duplicated_state1 = current_state;
uint64_t duplicated_state2 = current_state; uint64_t duplicated_state2 = current_state;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment