Skip to content

perf: Don't store the fields in the interned map #812

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 1 commit into from
Apr 22, 2025

Conversation

ChayimFriedman2
Copy link
Contributor

Instead, store only an Id, to save memory.

This saves 65mb on rust-analyzer. Wants to see the speed impact.

Copy link

netlify bot commented Apr 22, 2025

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit f4ee327
🔍 Latest deploy log https://app.netlify.com/sites/salsa-rs/deploys/6807bc331b0d7e0008a840ad

Copy link

codspeed-hq bot commented Apr 22, 2025

CodSpeed Performance Report

Merging #812 will not alter performance

Comparing ChayimFriedman2:interned-map-mem (f4ee327) with master (201a8dd)

Summary

✅ 12 untouched benchmarks

@ChayimFriedman2
Copy link
Contributor Author

Wow, zero regressions! Good to go I guess?

Instead, store only an `Id`, to save memory.
@Veykril Veykril added this pull request to the merge queue Apr 22, 2025
Merged via the queue into salsa-rs:master with commit db9d4f8 Apr 22, 2025
11 checks passed
@github-actions github-actions bot mentioned this pull request Apr 22, 2025
@ChayimFriedman2 ChayimFriedman2 deleted the interned-map-mem branch April 22, 2025 16:40
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.

2 participants