commit 1923 (waiting for review) makes symbolic (renamed visual) False by default. count_ops is much faster than computing len(str(expr)). With count_ops you are just adding up integers.
The reason that different objects implement count_ops is for the visual feature: >>> count_ops(3+4*x,visual=1) ADD + MUL >>> Bastian: regarding the hang in expansion...please try it on branch 1766 at my smichr account at github. Ronan timed it recently and it looks like it's doing well. -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sy...@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.