The commercial Macsyma performs this way: Spmod takes 124ms, 78 in GC, but Subres takes 0ms (i.e. less than 16ms). Switching back to spmod, it takes 0ms the second and subsequent times. So there is a bug in subres, and maybe some kind of memory effect. RJF