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

typestate has very bad performance on large vectors #2411

Closed
brson opened this issue May 18, 2012 · 1 comment
Closed

typestate has very bad performance on large vectors #2411

brson opened this issue May 18, 2012 · 1 comment
Assignees
Labels
I-slow Issue: Problems and improvements with respect to performance of generated code.

Comments

@brson
Copy link
Contributor

brson commented May 18, 2012

This takes 5 minutes to compile:

fn main() {
    let x = [
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        .... x8000 lines ...
    ];
}

Seems like a silly use case but that is what #include_bin desugars to.

@ghost ghost assigned brson May 18, 2012
@brson
Copy link
Contributor Author

brson commented May 18, 2012

Fixed by e546c48

@brson brson closed this as completed May 18, 2012
bors added a commit to rust-lang-ci/rust that referenced this issue Jun 5, 2023
…ription, r=lnicola

Fix rustup installation description

While going through the process of installing rust-analyzer to use with Neovim, I noticed that the instructions for installing with rustup are incorrect now that [issue rust-lang#2411](rust-lang/rustup#2411) has been closed. Now when rust-analyzer is installed using rustup, it is installed in ~/.cargo/bin and a symlink or some other workaround is no longer needed. I have updated the documentation accordingly.
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-slow Issue: Problems and improvements with respect to performance of generated code.
Projects
None yet
Development

No branches or pull requests

1 participant