Comment #4 on issue 1598 by ondrej.certik: New polynomials manipulation  
module
http://code.google.com/p/sympy/issues/detail?id=1598

Mateusz, would you manage to use cython to speed up the factorization a  
bit? Just for
fun, so that I can show it on scipy09, as an example of using cython. Here  
is the
result in Sage, that uses pari:

sage: var("x y z")
(x, y, z)
sage: a = (x+y+z)**20
sage: b = a.expand()
sage: time factor(b)
CPU times: user 0.19 s, sys: 0.00 s, total: 0.19 s
Wall time: 0.30 s
(x + y + z)^20


e.g. it's only 10x faster. Pari is optimized in C, so --- I don't know, but  
cython
can speed up things easily by a factor of 10x in many cases. Let's try it?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to