-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I tried to build this library to benchmark the QS implementation : it failed due to incorrect typing. A trivial fix to a understandable error, but running it reveals many more issues.
- BigUint's seem to be used for all arithmetic, this results in excessive overhead. Serious mathematical software heavily relies on the speed of hardware arithmetic, introducing multiprecision arrays needlessly can easily eliminate theoretical time complexity improvement
- Due to 1. PollardRho is very slow. For instance, factoring 1125899906843507^2 takes 66s on my machine, my own pollard-rho implementation takes around 1s.
- Quadratic sieve fails for many semiprimes. Infact it seems like it only works for small factors which pollardrho is faster for anyway.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels