Revert "Reusable buffers introduced."

This reverts commit 39a66fdef1.
This commit is contained in:
mlemanczyk committed 2025-12-13 04:17:30 +01:00
1 parent 39a66fdef1
commit 8fbe248a49
8 files changed
+1056 -829

No files matched your search

@@ -7,7 +7,7 @@ namespace PerfectNumbers.Core;
/// Tracks successive Montgomery residues for a single divisor while scanning exponent candidates on the CPU path.
/// Callers are responsible for seeding the stepper once per divisor and then advancing exponents in ascending order.
/// </summary>
public struct ExponentRemainderStepperCpu(in MontgomeryDivisorData divisor, ulong cycleLength = 0UL)
internal struct ExponentRemainderStepperCpu(in MontgomeryDivisorData divisor, ulong cycleLength = 0UL)
{
private readonly MontgomeryDivisorData _divisor = divisor;
private readonly ulong _modulus = divisor.Modulus;