[GiNaC-devel] Custom power evaluation

Richard B. Kreckel kreckel at ginac.de
Sat Oct 28 21:23:53 CEST 2006


Dear Vladimir,

Vladimir Kisil wrote:

>		Dear Richard and Alexei,
>
>		You are very preoccupied with slowdown of GiNac with new
>  patch. I am including (under the signature) two outputs from "make
>  check" with standard GiNaC and a patched one: *no obvious difference* in
>  timing.
>  
>

No, I would have been surprised if your patch made a noticable 
difference. My concerns are rather that rooting something as specialized 
inside the class hierarchy will not be useful enough but open the 
floodgates for much more specialized ideas and make the code even harder 
to understand for novices.

This is comparable to the saying "if your function has 13 parameters, it 
probably has one too... few."

Have you tried using subs or custom tree traversers for your purpose? 
(Along the ideas sketched in the FAQ, I mean.)

  -richy.

-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>



More information about the GiNaC-devel mailing list