Maple 2019 includes performance improvements for factoring sparse multivariate polynomials with integer coefficients. See factor for more details.
The following factorization took about 5 seconds in Maple 2018 on the same machine.
memory used=40.03MiB, alloc change=41.09MiB, cpu time=250.00ms, real time=247.00ms, gc time=0ns
| |
A larger example, with about 30000 terms.
This factorization took more than 1 minute in Maple 2018.
memory used=475.20MiB, alloc change=133.50MiB, cpu time=3.29s, real time=3.08s, gc time=468.00ms
| |
The last example is the determinant of a generic circulant matrix, i.e., where all entries are indeterminates, and each row is a cyclic rotation of the first one.
This factorization took about 17 seconds in Maple 2018.
memory used=488.25MiB, alloc change=-41.44MiB, cpu time=5.37s, real time=3.96s, gc time=421.20ms
| |