Finally we got to the cool stuff of running maxima in an embedded
lisp: direct expression tree translation between SR and maxima. See:
http://trac.sagemath.org/sage_trac/ticket/7377
Timing improvements are disappointingly little: The translation of the
expressions simply isn't all that big of a bottle neck. Example:
(new timings)
sage: timeit("integral(cos(x),x)")
625 loops, best of 3: 1.1 ms per loop
sage: timeit("integral(cos(x^2),x)")
5 loops, best of 3: 31.2 ms per loop
(old timings)
sage: timeit("integral(cos(x),x)")
25 loops, best of 3: 8.08 ms per loop
sage: timeit("integral(cos(x^2),x)")
5 loops, best of 3: 37 ms per loop
I expect that the new interface should be much more frugal with
memory, though. I don't think the maxima expect interface ever deletes
old results, whereas the new interface is completely permissive of ECL
garbage collecting unreferenced structures. It still uses the string-
based interface to bootstrap its translation dictionaries and for sage
types it doesn't have its own translation methods for, though, so some
memory is lost there.
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org