might be possible to write a macro to ease accumulation to prevent consing. something like
(accumulate-into poly
...body)
with terms like (incf poly ...) expanded into some code which checks variables/degrees and will only cons up a new coefficient array if needed.
Might be useful, might not. is worth a try.
might be possible to write a macro to ease accumulation to prevent consing. something like
(accumulate-into poly ...body)
with terms like (incf poly ...) expanded into some code which checks variables/degrees and will only cons up a new coefficient array if needed. Might be useful, might not. is worth a try.