Skip to content

internal: More shrink_to_fit() and upgrade dashmap and hashbrown #19688

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

Merged
merged 3 commits into from
Apr 25, 2025

Conversation

ChayimFriedman2
Copy link
Contributor

@ChayimFriedman2 ChayimFriedman2 commented Apr 25, 2025

My secret crystal ball told me there are places we still don't shrink_to_fit(). Well, almost a crystal ball. My crystal ball is the memory profiling I implemented for Salsa (very rudimentary right now, but I do plan to polish and release it). This saves 18mb. Speed doesn't regress.

Also packed with an upgrade to dashmap and hashbrown, because I thought this will be related (it won't). My crystal ball was wrong about this one, apparently.

This saves 18mb on `analysis-stats .`, without regressing speed.
And adapt `intern` to the changes in the API.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 25, 2025
@Veykril Veykril added this pull request to the merge queue Apr 25, 2025
Merged via the queue into rust-lang:master with commit 71a3888 Apr 25, 2025
14 checks passed
@ChayimFriedman2 ChayimFriedman2 deleted the less-unused branch April 25, 2025 10:32
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.

3 participants