By default CoCoALib
allows quite polynomials of quite high degree
(e.g. typically beyond 1000000). If you are sure that degrees will
remain small (e.g. below 1000) then you might obtain better performance
by editing the source file include/CoCoA/config.H
so that the typedef
for SmallExponent_t
is unsigned short
instead of unsigned int
.
But beware that CoCoALib does not generally check for exponent overflow
during polynomial arithmetic!