ArrayPool<T> replaced with ThreadStaticPools
This commit is contained in:
1 parent
c004e140db
commit
9537addf38
12 files changed
+123
-75
No files matched your search
@@ -797,7 +797,7 @@ public class MersenneDivisorCycles
|
||||
ulong start = 3UL;
|
||||
var locker = new object();
|
||||
|
||||
var pool = ArrayPool<ulong>.Shared;
|
||||
var pool = ThreadStaticPools.UlongPool;
|
||||
ulong batchSizeUL = (ulong)batchSize, d, end;
|
||||
int count = (int)Math.Min(batchSizeUL, maxDivisor), i, idx;
|
||||
ulong[] divisors, outCycles, validDivisors;
|
||||
|
||||
Reference in new issue
Block a user