[Maxima] speeding up the simplifier
robert.dodier at gmail.com
Fri Feb 16 10:10:08 CST 2007
On 2/16/07, Richard Fateman <fateman at cs.berkeley.edu> wrote:
> It used to be that the operators property came first on the property list
> of symbols like %sin.
> This made it faster for the simplifier to get to programs like simp-%sin.
Maybe in some version of Lisp it made a difference. From
what I can tell, it doesn't anymore. So I don't see a point to
trying to organize the property list. Also, this optimization assumes
that a substantial fraction of the time spent by the simplifier is
(GET 'FOO 'OPERATORS). I doubt if that's the case.
For GCL & SBCL the time to get the first %SIN property is about
the same as it is to get the last. For Clisp it takes about 1/3 more
time to get the last.
This is based on some simple (TIME (DOTIMES ...)) stuff.
More information about the Maxima