-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustc: use IndexVec<DefIndex, T> instead of Vec<T>. #65825
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
r? @zackmdavis (rust_highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion |
⌛ Trying commit 70eb4bf6cd8eb56b8dfc22d767007b67a5979b24 with merge 76530884546a7aa7bf406b7af7e07c6225197ec0... |
☀️ Try build successful - checks-azure |
Queued 76530884546a7aa7bf406b7af7e07c6225197ec0 with parent 23f890f, future comparison URL. |
Finished benchmarking try commit 76530884546a7aa7bf406b7af7e07c6225197ec0, comparison URL. |
@bors r+ rollup |
📌 Commit 70eb4bf6cd8eb56b8dfc22d767007b67a5979b24 has been approved by |
Rollup of 8 pull requests Successful merges: - #65743 (rustc_typeck: don't record direct callees in generator_interior.) - #65761 (libsyntax: Enhance documentation of the AST module) - #65772 (Remove the last remaining READMEs) - #65773 (Increase spacing for suggestions in diagnostics) - #65791 (Adding doc on keyword continue) - #65824 (rustc: make DefPathData (and friends) Copy (now that it uses Symbol).) - #65828 (Derive Eq and Hash for SourceInfo again) - #65842 (Add more information on rustdoc search) Failed merges: - #65825 (rustc: use IndexVec<DefIndex, T> instead of Vec<T>.) r? @ghost
This comment has been minimized.
This comment has been minimized.
@bors r=varkor |
📌 Commit cc575a6 has been approved by |
rustc: use IndexVec<DefIndex, T> instead of Vec<T>. Now that `DefIndex` is a proper index type, we can do that. There was also an unnecessary `Option` I removed, I wonder if that has perf implications.
rustc: use IndexVec<DefIndex, T> instead of Vec<T>. Now that `DefIndex` is a proper index type, we can do that. There was also an unnecessary `Option` I removed, I wonder if that has perf implications.
Rollup of 9 pull requests Successful merges: - #65563 (Add long error explanation for E0587) - #65640 (Use heuristics to recover parsing of missing `;`) - #65643 (Correct handling of type flags with `ConstValue::Placeholder`) - #65825 (rustc: use IndexVec<DefIndex, T> instead of Vec<T>.) - #65858 (suggest `const_in_array_repeat_expression` flag) - #65877 (doc: introduce `once` in `iter::chain` document) - #65887 (doc: mention `get(_mut)` in Vec) - #65891 (self-profiling: Record something more useful for crate metadata generation event.) - #65893 (Output previous stable error messaging when using stable build.) Failed merges: r? @ghost
Now that
DefIndex
is a proper index type, we can do that.There was also an unnecessary
Option
I removed, I wonder if that has perf implications.