Comment #30 on issue 683 by [email protected]: speedup of sum(x**i/i,i=1..400)
http://code.google.com/p/sympy/issues/detail?id=683

hash sorting is used in Add, now, but there is still a significant difference in the following:


t=time();jnk=Add(*[u**i/i for i in range(1,1001)]);print time()-t
0.359377145767
t=time();jnk=sum([v**i/i for i in range(1,1001)]);print time()-t
7.3301718235


--
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