That's awesome.  Can I suggest that you blog about this and push it to
planet.sympy.org?


On Sat, Sep 7, 2013 at 6: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<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<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.
>
>
>>
>> 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.

Reply via email to