Skip to content

Commit dc7e2c7

Browse files
committed
Comment fix
1 parent 308e249 commit dc7e2c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/TaskScheduler.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -537,10 +537,8 @@ static inline uint32_t Hash32( uint32_t in_ )
537537
static const uint32_t PRIME32_5 = 374761393U; // 0b00010110010101100110011110110001
538538
static const uint32_t SEED = 0; // can configure seed if needed
539539

540-
// simple hash of nodes, does not check if nodePool is compressed or not.
540+
// less than 16 bytes of input so simplified hash steps
541541
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.
544542
acc += in_;
545543
acc = acc ^ (acc >> 15);
546544
acc = acc * PRIME32_2;

0 commit comments

Comments
 (0)