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

Some more small salsa memory improvements #17639

Merged
merged 6 commits into from
Jul 19, 2024
Merged

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Jul 19, 2024

This does limit our lru limits to 2^16 but if you want to set them higher than that you might as well not set them at all. Also makes LRU opt-in per query now, allowing us to drop all the unnecessary LRU stuff for most queries

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

Veykril commented Jul 19, 2024

@bors r+

@bors
Copy link
Contributor

bors commented Jul 19, 2024

📌 Commit 7fcac48 has been approved by Veykril

It is now in the queue for this repository.

bors added a commit that referenced this pull request Jul 19, 2024
Some more small salsa memory improvements

This does limit our lru limits to 2^16 but if you want to set them higher than that you might as well not set them at all.
@bors
Copy link
Contributor

bors commented Jul 19, 2024

⌛ Testing commit 7fcac48 with merge 1f61345...

@bors
Copy link
Contributor

bors commented Jul 19, 2024

💔 Test failed - checks-actions

@Veykril
Copy link
Member Author

Veykril commented Jul 19, 2024

@bors r+

@bors
Copy link
Contributor

bors commented Jul 19, 2024

📌 Commit 09ef75c has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Jul 19, 2024

⌛ Testing commit 09ef75c with merge b333f85...

@bors
Copy link
Contributor

bors commented Jul 19, 2024

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

@bors bors merged commit b333f85 into rust-lang:master Jul 19, 2024
11 checks passed
@Veykril Veykril deleted the salsa-perf branch July 19, 2024 20:31
@lnicola
Copy link
Member

lnicola commented Jul 22, 2024

This was a ~23 MB win on self.

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.

4 participants