-
Notifications
You must be signed in to change notification settings - Fork 175
Description
This is prompted by a forum question which claimed that AbelianInvariantscan be held back by using FactorsInt instead of Factors.
[BTW: I have not found where AbelianInvariants calls FactorsInt, only calls to Factors, but that is not a disproof.]
There are about 2 dozen places in the library in which FactorsInt is called. This being a global function, it cannot be overridden by a package.
While there might be borderline cases that really need the Rho factorization, it seems to me that the main difference is a minor speedup in that FactorsInt does not need to construct the default ring and redispatch (as Factors(n) would), but that could be resolved by another method installation for condition IsInt.
Is this really time critical? Is there any reason to not replace the FactorsInt calls in the library (short of the factorization routine) with Factors? (I can do so)