We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 308e249 commit dc7e2c7Copy full SHA for dc7e2c7
src/TaskScheduler.cpp
@@ -537,10 +537,8 @@ static inline uint32_t Hash32( uint32_t in_ )
537
static const uint32_t PRIME32_5 = 374761393U; // 0b00010110010101100110011110110001
538
static const uint32_t SEED = 0; // can configure seed if needed
539
540
- // simple hash of nodes, does not check if nodePool is compressed or not.
+ // less than 16 bytes of input so simplified hash steps
541
uint32_t acc = SEED + PRIME32_5;
542
-
543
- // add node types to map, and also ensure that fully empty nodes are well distributed by hashing the pointer.
544
acc += in_;
545
acc = acc ^ (acc >> 15);
546
acc = acc * PRIME32_2;
0 commit comments