This coming from brave merging of #2318 ;) The exact reason: xrange -> range replacements.
See my comments: https://github.com/sympy/sympy/pull/2318#issuecomment-21707246 https://github.com/sympy/sympy/pull/2318#issuecomment-21708875 I'll try to prepare a fix asap, as this break a lot of things. On Monday, July 29, 2013 7:05:11 AM UTC+4, Ondřej Čertík wrote: > > Hi, > > I've noticed that the test_speed() test in > sympy/core/tests/test_diff.py eats all my memory. Here is how to > reproduce it: > > $ python -c "from sympy import Symbol; x = Symbol('x'); print x.diff(x, > 10**8)" > 0 > > It does finish, but my laptop is swapping a lot (I have 4GB of > memory). I don't think this problem is new. > In particular, it was me who committed this test in: > > > https://github.com/sympy/sympy/commit/d96393c5b21a62b533c46c7e8b97ec958e1894a8 > > > Over 5 years ago. To be honest, I am not quite sure what the purpose of it > is. > Why would anyone need to differentiate 10**8 --- if it is anything > more complicated, it is not going to be fast anyway. > > What do you think we should do about this one? > > Ondrej > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.
