-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No-expand() Poly construction per default (step 1) #1047
No-expand() Poly construction per default (step 1) #1047
Conversation
skirpichev
commented
Aug 10, 2020
•
edited
Loading
edited
- fix tests
- test coverage
- add docs
- mention closed/relevant issues
- Cleanup polynomial initialization functions from polyutils, optimize like poly() #992
- degree((x+1)**10000) takes too long sympy/sympy#6322
- degree(f, var) is much slower than Poly(f).degree(var), (27x with this particular poly) sympy/sympy#12998
- with gens, time taken for sqf increases orders of magnitude faster than factor as input size increases sympy/sympy#13029
- cancel does not return expanded form sympy/sympy#12531
- remove poly() (use instead parrallel_poly_from_expr)
- is_polynomial right for wrong reasons (and sometimes wrong) sympy/sympy#22583
@user234683, I see no reproducible example in the sympy/sympy#12998. Could you provide one? I suspect, that this SymPy's issue is fixed by the current PR in the Diofant, but want to be sure. |
969c727
to
8f1da11
Compare
This appears to be the polynomial I was using at the time: |
Thank you. Well, I have these timings on this branch:
It seems apparent, that univariate polynomial construction (over variable c5) noticeably slower here (5x). You have reported 27x difference. For
|
096de7a
to
d125326
Compare
Oh it appears I had fixed the issue already for |
Hmm, I'm not sure if that was a fix. You break function API a little, making it inconsistent with other polynomial functions, while don't fix the real issue: noticeable slowdown of
vs the current Diofant (on this branch):
|
It was a fix for the issue as it pertained to |
1305fbf
to
08c7d89
Compare
f310b45
to
c17c7a2
Compare
6dc0389
to
06ec87b
Compare
f041ee3
to
58371f2
Compare
177c7ce
to
009a44f
Compare
68f6698
to
d7283d9
Compare
afb83db
to
3a15723
Compare