Ralf,

Do we have a convention concerning calls to upstream packages like maxima? 
That is, which side of the interface is responsible for the scan to 
determine whether the main code invoked upstream should be executed: the 
caller (in this case manifolds.utilities) or the callee (in this case 
simplify_trig())? 

Using the principle of least code, one would put the onus on simplify_trig 
to return immediately if it finds no trig functions.
Using the principle of most flexibility, one would put the onus on the 
manifolds.utilities.

The former usually results in more robust code, while the latter usually 
yields higher speed.

 - Richard

On Sunday, November 26, 2017 at 8:02:34 AM UTC-8, Ralf Stephan wrote:
>
> The expression triggering the error has an output size of 59 pages.
> It is attached and the crash can be confirmed by giving ex.simplify_trig().
>
> Apart from the ECL problem clearly some optimization in manifolds
> is in order, especially since the expression does not contain trig 
> functions.
>
> Regards,
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to