length of genvar & speed






Most of the functions in my DE solver use CRE expressions. The
length of genvar grows every time it solves a DE; if it solves 100
DEs, the length of genvar might be 400 or more. Worse, the solver
slows to a crawl. Is the increasing slowness related to the long
genvar list? What am I doing wrong? Why does the genvar grow
so long? I know this isn’t much to go on.

Barton