-
-
Notifications
You must be signed in to change notification settings - Fork 674
Open
Description
Empirically, maxima_calculus.eval()
is 5-7 times faster than maxima.eval()
, cf. e.g.
sage: timeit("L = [(i/100.0, maxima_calculus.eval('jacobi_sn (%s/100.0,2.0)'%i)) for i in range(-300,300)]")
5 loops, best of 3: 110 ms per loop
sage: timeit("L = [(i/100.0, maxima.eval('jacobi_sn (%s/100.0,2.0)'%i)) for i in range(-300,300)]")
5 loops, best of 3: 556 ms per loop
For some reason, there are dozens of maxima.eval
calls in sage/[src,doc] - and none of maxima_calculus.eval
. Just going and changing these will be an improvement (in particular, on Cygwin, where pexpect is very flaky, cf #22191).
maxima.jacobi_sn()
is also much slower than
maxima_calculus.jacobi_sn()
This should be a part of #17753.
Component: interfaces
Issue created by migration from https://trac.sagemath.org/ticket/30071