Skip to content

Commit ae2884c

Browse files
authored
Optimize block transformer to use 4096 batch size for cancellation
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent e8afc3f commit ae2884c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

HashifyNet/Algorithms/HighwayHash/HighwayHash_Implementation.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ private class BlockTransformer
115115

116116

117117
public BlockTransformer()
118-
: base(32, 32) // Process data in 32-byte blocks
118+
: base(inputBlockSize: 32) // Process data in 32-byte blocks
119119
{
120120
}
121121

@@ -348,4 +348,5 @@ void MR(out ulong hash1, out ulong hash2, ulong v1, ulong m1, ulong v2, ulong m2
348348
}
349349
}
350350
}
351-
}
351+
352+
}

0 commit comments

Comments
 (0)