Clean up resolved windowed pow2 TODOs on CPU paths

This commit is contained in:
Marek Lemańczyk committed 2025-10-20 18:36:51 +02:00
1 parent 798ae455b1
commit 4831fc84d1
5 files changed
-38

No files matched your search

-2
View File
@@ -553,8 +553,6 @@ public static class UInt128Extensions
while (order % prime == 0UL)
{
temp = order / prime;
// TODO: Switch this divisor-order powmod to the ProcessEightBitWindows helper so the
// cycle factoring loop benefits from the faster windowed pow2 ladder measured in CPU benchmarks.
if (temp.PowModWithCycle(q, cycle) == one)
{
order = temp;