proposal for object-oriented dispatch on sign



PS Not clear how much this matters, even for the operators property.
 Someone could measure it, I suppose....

On Mon, Jun 20, 2011 at 18:11, Stavros Macrakis <macrakis at alum.mit.edu>wrote:

> 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
>>
>
>