Subject: proposal for object-oriented dispatch on sign
From: Stavros Macrakis
Date: Mon, 20 Jun 2011 18:11:06 -0400
Property lists are searched linearly, so yes, lots of properties can slow
execution. But probably the only one that actually matters for speed in
practice is the 'operators' property, which is what the simplifier
dispatches on.
I suppose we could iterate over all symbols and move any operators
properties to the head of the property list.
-s
On Mon, Jun 20, 2011 at 18:03, Barton Willis <willisb at unk.edu> wrote:
> -----maxima-bounces at math.utexas.edu wrote: -----
>
> >I like this style of programming very much. I would appreciate an
> >implementation which uses the properties of a symbol. The code is easier
> >to extend and to maintain.
>
> What about efficiency? The symbol %sin has 44 properties (using wxMaxima).
> Is this
> getting to be so many that it is slowing Maxima?
>
> --Barton
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>