Comment #11 on issue 1884 by Vinzent.Steinberg: remove old assumptions
http://code.google.com/p/sympy/issues/detail?id=1884

Actually, the speed difference is not as big as I expected:

In [6]: %timeit x.is_positive
1000000 loops, best of 3: 393 ns per loop

In [7]: %timeit ask(x, Q.positive)
1000 loops, best of 3: 1.65 ms per loop

So it is only 4.2 times slower. This will be worse if there are many assumptions on x, but it will be much more powerful and caching should allow a similar speed for trivial queries. I think we can remove the old system and improve the performance later.

--
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 sympy-iss...@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.

Reply via email to