Simplify scheduler configuration and pending composite caching

This commit is contained in:
Marek Lemańczyk committed 2025-10-20 01:07:02 +02:00
1 parent e9cff7bfcd
commit a7ed762428
3 files changed
+23 -48

No files matched your search

+4 -4
View File
@@ -1,3 +1,5 @@
using System.Runtime.CompilerServices;
namespace PerfectNumbers.Core;
internal static partial class PrimeOrderCalculator
@@ -14,10 +16,8 @@ internal static partial class PrimeOrderCalculator
public static PrimeOrderSearchConfig HeuristicDefault
{
get
{
return _heuristicDefault;
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get => _heuristicDefault;
}
public static readonly PrimeOrderSearchConfig StrictDefault = new(smallFactorLimit: 1_000_000, pollardRhoMilliseconds: 0, maxPowChecks: 0, PrimeOrderMode.Strict);