Skip to content
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

Poly(E**100000000) is slow to create #19670

sachin-4099 opened this issue Jun 29, 2020 · 1 comment

Poly(E**100000000) is slow to create #19670

sachin-4099 opened this issue Jun 29, 2020 · 1 comment


Copy link

sachin-4099 commented Jun 29, 2020

On master:

In [1]: %time Poly(E**100000000)
Wall time: 22 s

Out[1]: Poly(E**100000000, E, domain='ZZ')

In [1]: %time Poly(E**1000000000)
Takes too much time

Therefore, Poly(E**100000000) is slow to create.

Copy link

jksuom commented Jun 29, 2020

That essentially creates a list of length 100000000, and that alone takes much time.

In [19]: %time l = [0]*100000000
CPU times: user 1.43 s, sys: 472 ms, total: 1.9 s
Wall time: 10.5 s

skirpichev added a commit to skirpichev/diofant that referenced this issue Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants