Skip to content

perf/internal: Refactor the hir-ty generics data structures#22232

Merged
ShoyuVanilla merged 2 commits intorust-lang:masterfrom
ChayimFriedman2:refactor-generics
May 1, 2026
Merged

perf/internal: Refactor the hir-ty generics data structures#22232
ShoyuVanilla merged 2 commits intorust-lang:masterfrom
ChayimFriedman2:refactor-generics

Conversation

@ChayimFriedman2
Copy link
Copy Markdown
Contributor

For better perf and cleaner code.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 1, 2026
Store the chain of parents in an `ArrayVec` and not as `Option<Box>`. This should help perf and it simplifies the code.
Copy link
Copy Markdown
Member

@ShoyuVanilla ShoyuVanilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShoyuVanilla ShoyuVanilla added this pull request to the merge queue May 1, 2026
Merged via the queue into rust-lang:master with commit 0856450 May 1, 2026
18 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 1, 2026
@ChayimFriedman2 ChayimFriedman2 deleted the refactor-generics branch May 1, 2026 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants