Move by-divisor comments ahead of disabled guards
This commit is contained in:
1 parent
b8031c5993
commit
7adea979fb
3 files changed
+64
-55
No files matched your search
@@ -984,10 +984,11 @@ internal static class Program
|
||||
|
||||
private static void RunByDivisorMode(List<ulong> candidates, int threadCount)
|
||||
{
|
||||
if (_byDivisorTester is null)
|
||||
{
|
||||
throw new InvalidOperationException("By-divisor tester has not been initialized.");
|
||||
}
|
||||
// The CPU by-divisor execution initializes the tester during startup, so the guard below never triggers.
|
||||
// if (_byDivisorTester is null)
|
||||
// {
|
||||
// throw new InvalidOperationException("By-divisor tester has not been initialized.");
|
||||
// }
|
||||
|
||||
// TODO: Inline this helper by invoking MersenneNumberDivisorByDivisorTester.Run directly at call sites so
|
||||
// the CLI avoids this extra frame during the hot composite-reporting path.
|
||||
|
||||
Reference in new issue
Block a user