Performance - Maple Programming Help

Performance

Maple 2019 improves the performance of many routines.

factor

Maple 2019 includes performance improvements for factoring sparse multivariate polynomials with integer coefficients. See factor for more details.

 > $\mathrm{vars}≔\left[\mathrm{seq}\left({x}_{i},i=1..8\right)\right]$
 ${\mathrm{vars}}{≔}\left[{{x}}_{{1}}{,}{{x}}_{{2}}{,}{{x}}_{{3}}{,}{{x}}_{{4}}{,}{{x}}_{{5}}{,}{{x}}_{{6}}{,}{{x}}_{{7}}{,}{{x}}_{{8}}\right]$ (1.1)
 >
 ${g}{≔}{555}{}{{x}}_{{1}}^{{4}}{}{{x}}_{{2}}{}{{x}}_{{3}}^{{2}}{}{{x}}_{{5}}^{{3}}{}{{x}}_{{6}}^{{2}}{}{{x}}_{{7}}{}{{x}}_{{8}}^{{2}}{+}{771}{}{{x}}_{{1}}^{{4}}{}{{x}}_{{2}}{}{{x}}_{{3}}{}{{x}}_{{4}}^{{2}}{}{{x}}_{{6}}^{{3}}{}{{x}}_{{8}}^{{4}}{+}{584}{}{{x}}_{{1}}^{{3}}{}{{x}}_{{2}}{}{{x}}_{{3}}^{{4}}{}{{x}}_{{6}}{}{{x}}_{{7}}^{{6}}{+}{930}{}{{x}}_{{1}}^{{3}}{}{{x}}_{{4}}^{{3}}{}{{x}}_{{5}}{}{{x}}_{{6}}^{{3}}{}{{x}}_{{7}}{}{{x}}_{{8}}^{{4}}{-}{778}{}{{x}}_{{1}}^{{2}}{}{{x}}_{{2}}^{{2}}{}{{x}}_{{3}}{}{{x}}_{{4}}{}{{x}}_{{7}}^{{8}}{}{{x}}_{{8}}{-}{642}{}{{x}}_{{1}}^{{2}}{}{{x}}_{{3}}^{{2}}{}{{x}}_{{4}}^{{2}}{}{{x}}_{{5}}{}{{x}}_{{6}}^{{6}}{}{{x}}_{{7}}{}{{x}}_{{8}}{+}{897}{}{{x}}_{{1}}^{{2}}{}{{x}}_{{4}}^{{2}}{}{{x}}_{{6}}{}{{x}}_{{7}}^{{5}}{}{{x}}_{{8}}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