Hi all,

I just want to announce that a new implementation of Common Subexpression 
Elimination (CSE) routine has been merged into master (PR: 
https://github.com/sympy/sympy/pull/2355).

This new implementation is really faster, especially when no external 
optimizations are performed (the default now).
And there is a new option for even faster results: order='none'.

Here is a comparison example: http://nbviewer.ipython.org/5986996
As it can be seen, for the no optimizations case, there is a reduction from 
_1 minute and half_  to  _580 ms_,
from the previous to the new implementation.
With the order='none' option, the new implementation drops to _91 ms_!

For all of you who wasn't using CSE because of it being a bottleneck, CSE 
must be reconsidered again.

Thanks,
Happy code,
Cristóvão D. Sousa

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to