[GiNaC-list] Re: sympy versus Maxima versus GiNaC

Ondrej Certik ondrej at certik.cz
Fri Jan 4 13:45:28 CET 2008


On Jan 4, 2008 12:34 PM, Alexei Sheplyakov <varg at theor.jinr.ru> wrote:
> Hello!
>
> On Thu, Jan 03, 2008 at 03:14:28PM +0100, Ondrej Certik wrote:
> > Fun is an important part. But the main reason is to have fast CAS in
> > python. I am  one of the authors of swiginac (so that we use the wheel,
> > instead of reinventing it), but that's not the way.
> > As to speed, we are improving. As shown here for example:
> >
> > http://groups.google.com/group/sympycore/browse_thread/thread/8062076c7bc8807d
>
> Which LISP did you use to compile Maxima? How many times did you repeat
> the test? (for some bizzare reason the first call to virtually any
> function is much slower than subsequent ones). What's about more
> "interesting" operations, such as gcd(), evalf(), pattern matching?

Right, the LISP was the problem. I wrote about it here:

http://ondrejcertik.blogspot.com/2008/01/sympysympycore-pure-python-up-to-5x.html

We didn't try much else. It is just a taste of the speed.

Ondrej


More information about the GiNaC-list mailing list