Skip to content

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

Merged
Veykril merged 1 commit into
salsa-rs:masterfrom
ChayimFriedman2:interned-map-mem
Apr 22, 2025
Merged

perf: Don't store the fields in the interned map#812
Veykril merged 1 commit into
salsa-rs:masterfrom
ChayimFriedman2:interned-map-mem

Conversation

@ChayimFriedman2

Copy link
Copy Markdown
Contributor

Instead, store only an Id, to save memory.

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

@netlify

netlify Bot commented Apr 22, 2025

Copy link
Copy Markdown

Deploy Preview for salsa-rs canceled.

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

@codspeed-hq

codspeed-hq Bot commented Apr 22, 2025

Copy link
Copy Markdown

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
Copy Markdown
Contributor Author

Wow, zero regressions! Good to go I guess?

Comment thread src/table.rs Outdated
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
@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