-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Superlinear compile time for large arrays of constants #52868
Comments
This, I believe, is a duplicate of… (takes a look through I-compiletime)… let’s say #37155. |
FWIW, the quadratic complexity occurs already with nightly-2018-07-07, i.e., before the CTFE loop checker landed. EDIT: In fact, even nightly-2017-10-01 has the problem already. That's before miri was put into rustc. So I think @nagisa you are right, this is probably an ancient issue. |
Lets close this in order to not clutter the issue list then. |
Since I’m pretty sure this is a duplicate of one of those I-compiletime issues. I encourage to post your test case on one of those. |
takes superlinear time to compile as
BIG_NUMBER
increases:Built using
CARGO_INCREMENTAL=0 cargo build --release
on current nightly.Looks at least quadratic to me.
Cc @oli-obk
Python script to generate code
The text was updated successfully, but these errors were encountered: