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

internal: Don't intern attribute inputs as their spans make them unique #17375

Merged
merged 1 commit into from
Jun 9, 2024

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Jun 9, 2024

No description provided.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jun 9, 2024
@Veykril
Copy link
Member Author

Veykril commented Jun 9, 2024

@bors r+

@bors
Copy link
Collaborator

bors commented Jun 9, 2024

📌 Commit 2328085 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Jun 9, 2024

⌛ Testing commit 2328085 with merge b427d46...

@bors
Copy link
Collaborator

bors commented Jun 9, 2024

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing b427d46 to master...

@bors bors merged commit b427d46 into rust-lang:master Jun 9, 2024
11 checks passed
@Veykril Veykril deleted the attr-input-no-intern branch June 9, 2024 20:03
@lnicola lnicola changed the title Don't intern attribute inputs as their spans make them unique internal: Don't intern attribute inputs as their spans make them unique Jun 9, 2024
@Veykril
Copy link
Member Author

Veykril commented Jun 10, 2024

Hmm, this regressed memory usage actually. I guess we do have these duplicates between item tree and attr query, in which case an arc would probably be the better choice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants