> I tried to use lambda with Sage too but it was insanely slow: even > timeit(100) took about 60 s! This is more than 100 times slower than > with normal Python. It might be possible that fast_float is faster > when not used from Sage.
This is probably because in Sage, sin, cos, pi, exp, etc. are all symbolic and talk to Maxima. Note that in my code posted about, I explicitly used math.sin etc. to test lambdas. --Mike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---