Comment #2 on issue 3332 by asmeu...@gmail.com: Squaring of large linear functions -- speed issue
http://code.google.com/p/sympy/issues/detail?id=3332
I've found one thing that drops the time down by an order of magnitude. It still takes a long time, simply because there are 500500 terms in the final expression. Also, some of the other expand hints might be taking up some time, so use expand_multinomial.
I've included the fix in my https://github.com/sympy/sympy/pull/1431. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-issues@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.