Thank you very much! It really helped with the performance. Much appreciated.
On Tuesday, 7 June 2022 at 21:11:56 UTC-5 [email protected] wrote: > You can pass multiple expressions to lambdify at once if you pass them as > a list. If you use cse=True the performance can be improved if the > expressions have common subexpressions among them. > > Other than that I would recommend doing this and using numba.njit() or > numba.njit(parallel=True) on the lambdified function. > > Aaron Meurer > > On Tue, Jun 7, 2022 at 8:07 PM Sushant Sharma Chaudhary < > [email protected]> wrote: > >> Hi Everyone, >> >> I have 9200 symbolic expressions i need to test against same data point. >> Is there a faster way to do this other than one at a time. >> >> The opposite 1 expression and N data points is easy using lambdify. >> >> I really need to boost the performance of my algorithm. Any suggestions >> will be helpful. >> >> Sushant >> >> -- >> 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 view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/ded04dff-4095-45ec-b1e6-9ec0b157f203n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/sympy/ded04dff-4095-45ec-b1e6-9ec0b157f203n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sympy/5c77fe61-8aa4-4395-ba82-764bdb74eca5n%40googlegroups.com.
