On Sat, Sep 7, 2013 at 7:06 PM, Cristóvão Sousa <[email protected]> wrote: > On Sunday, September 8, 2013 1:55:12 AM UTC+1, Cristóvão Sousa wrote: >> >> 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. > > > 150x faster. > >> >> With the order='none' option, the new implementation drops to _91 ms_! > > > 1000x faster.
This is amazing. Thanks Cristóvão for your hard work. This will be very very useful to a lot of people. Ondrej > >> >> >> 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. -- 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.
