Re: [sympy] Re: Lambdify performance with repeated subexpressions

2016-10-14 Thread Aaron Meurer
To achieve this with lambdify you should call cse() first, then lambdify each expression separately. We ought to build a wrapper to make this easier (or a cse=True flag to lambdify). Aaron Meurer On Fri, Oct 14, 2016 at 11:06 AM, Björn Dahlgren wrote: > > > On Friday, 14

[sympy] Re: Lambdify performance with repeated subexpressions

2016-10-14 Thread Björn Dahlgren
On Friday, 14 October 2016 15:09:46 UTC+2, Albert Pető wrote: > > Hi, I plan to heavily use a function generated with lambdify from a sympy > expression which has repeated occurences of some subexpressions. > This functionality is available in symengine: