Skip to content

reduce size of interned value metadata#903

Merged
Veykril merged 1 commit into
salsa-rs:masterfrom
ibraheemdev:ibraheem/interned-memory-usage
Jun 5, 2025
Merged

reduce size of interned value metadata#903
Veykril merged 1 commit into
salsa-rs:masterfrom
ibraheemdev:ibraheem/interned-memory-usage

Conversation

@ibraheemdev

@ibraheemdev ibraheemdev commented Jun 4, 2025

Copy link
Copy Markdown
Member

Pointed out in #839 (comment), this reduces the size of interned values by one word (unless the fields happen to be exactly 48 bytes). I don't really like using repr(packed) but it seems fine in this case, the alternative makes the code a lot messier.

@netlify

netlify Bot commented Jun 4, 2025

Copy link
Copy Markdown

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit 8f3c290
🔍 Latest deploy log https://app.netlify.com/projects/salsa-rs/deploys/68404b095604c800084b06ce

@codspeed-hq

codspeed-hq Bot commented Jun 4, 2025

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #903 will not alter performance

Comparing ibraheemdev:ibraheem/interned-memory-usage (8f3c290) with master (2c57c56)

Summary

✅ 12 untouched benchmarks

@Veykril Veykril added this pull request to the merge queue Jun 5, 2025
Merged via the queue into salsa-rs:master with commit 60026c0 Jun 5, 2025
12 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 4, 2025
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