mlemanczyk
|
3c80221105
|
MontgomeryDivisorDataPool.Rent / .Return removed as we no longer pool Montgomery divisor data. UInt128Extensions.MontgomeryDivisorDataPool variables optimized.
|
2025-12-16 02:27:29 +01:00 |
|
mlemanczyk
|
b7773adad8
|
PrimeOrderCalculator.ExponentLoweringCpu optimized to reuse factors & exponents span instead of its own buffers
|
2025-12-15 20:22:03 +01:00 |
|
mlemanczyk
|
566cbc3599
|
PrimeOrderCalculator.Cpu optimizations.
|
2025-12-15 17:22:55 +01:00 |
|
mlemanczyk
|
a185149eba
|
PrimeOrderCalculator.PartiaFactorCpu optimized to use one-time allocation list and stack.
|
2025-12-13 14:21:37 +01:00 |
|
mlemanczyk
|
ec080ade7f
|
PendingEntry renamed to PartialFactorPendingEntry and moved to its own file. PrimeOrderCalculator.PartialFactor partially optimized to use fixed buffers factors & exponents.
|
2025-12-13 05:11:02 +01:00 |
|
mlemanczyk
|
8fbe248a49
|
Revert "Reusable buffers introduced."
This reverts commit 39a66fdef1.
|
2025-12-13 04:17:30 +01:00 |
|
mlemanczyk
|
39a66fdef1
|
Reusable buffers introduced.
|
2025-12-13 04:16:05 +01:00 |
|
mlemanczyk
|
260aa19e44
|
Pools renamed to FixedCapacityPools. Other fixed capacity collections added. Queues, concurrent queues and standard stacks replaced with fixed capacity stacks. MethodImplOptions.AggressiveInlining and .AggressiveOptimization added to simple methods and getters / setters. Variables optimized in few places.
|
2025-12-11 21:10:19 +01:00 |
|
mlemanczyk
|
7a242b3bfa
|
PrimeOrderCalculator.PartialFactorCpu simplified to work only with spans and throw exception if the number of factors is exceeded. PrimeOrderMode removed in favor of bool flag.
|
2025-12-10 12:47:25 +01:00 |
|
mlemanczyk
|
342eff2726
|
GpuKernelPool.GetOrAddKernels removed in --mersenne=bydivisor mode. PartialFactorResult.WithAdditionalPrime will now modify the current instance instead of creating new copy for better performance. SmallPrimeFactorViews renamed to SmallPrimeFactorGpuTables for consistency with other static tables.
|
2025-11-17 23:33:59 +01:00 |
|
mlemanczyk
|
c53aa517f7
|
GpuScratchBuffer / -Pool naively integrated with PriemOrderCalculatorAccelerator (formerly Pow2MontgomeryAccelerator). FactorEntry replaced with 2 arrays - unused field removed. Small cleanup.
|
2025-11-13 14:41:27 +01:00 |
|
mlemanczyk
|
9537addf38
|
ArrayPool<T> replaced with ThreadStaticPools
|
2025-11-07 00:46:16 +01:00 |
|
mlemanczyk
|
e525484b48
|
Primality tests normalized on GetOrComputePrimality. CofactorIsPrime added to factoring results for reuse in other places.
|
2025-10-17 16:24:59 +02:00 |
|
mlemanczyk
|
56e413064a
|
Using cleanup
|
2025-10-17 02:40:51 +02:00 |
|
mlemanczyk
|
d3695a3dc3
|
Pools made thread static. Various small optimizations. "in" parameter added to read-only method parameters
|
2025-10-15 02:17:13 +02:00 |
|
Marek Lemańczyk
|
c9ae56a5ec
|
Remove default prime order overloads
|
2025-10-10 21:51:41 +02:00 |
|