On my computer, I get these results:
sympycore:
In [11]: %time e=((x+y+z)**100).expand()
CPU times: user 0.58 s, sys: 0.00 s, total: 0.58 s
Wall time: 0.58
In [12]: %time e=((x+y+z)**20 * (y+x)**19).expand()
CPU times: user 0.27 s, sys: 0.00 s, total: 0.27 s
Wall time: 0.27
sympy:
In [1]: %time e=((x+y+z)**100).expand()
CPU times: user 38.32 s, sys: 0.04 s, total: 38.37 s
Wall time: 38.42
In [2]: %time e=((x+y+z)**20 * (y+x)**19).expand()
CPU times: user 18.61 s, sys: 0.02 s, total: 18.63 s
Wall time: 18.65
So, this shows, that sympy in pure Python can actually be as fast
(actually faster) as maxima. Wow.
I would like to port the improvements in sympycore to sympy, but I
don't have time for that. But I think it's currently the most
important thing that we should do.
Ondrej