Convert symbolic SymPy expression to native Julia code?


#1

I believe it is possible and might be done already but I have not found.
It would gain an infinite factor in the evaluation speed as in the example below:


#2

I think you want lambdify Though it isn’t quite as fast as you can make it due to an invokelatest call in the _lamdify method. This can be worked around in your code, should you need it.


#3

It looks very promising, thanks a lot! I will try.