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

Implement self-referential/subset key interning #633

Merged
merged 4 commits into from
Jan 6, 2025

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Dec 18, 2024

This lacks a user facing API via the macro but I could not be bothered implementing that as it takes way too much effort with the decl macro quoting unfortunately (and I did not feel like cloning the entire macro for this either). This is enough for rust-analyzer's needs for the time being though as there is only one usage which we have handwritten for now.

Copy link

netlify bot commented Dec 18, 2024

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit f2f9e11
🔍 Latest deploy log https://app.netlify.com/sites/salsa-rs/deploys/677909ad1902b8000877afe7

Copy link

codspeed-hq bot commented Dec 18, 2024

CodSpeed Performance Report

Merging #633 will not alter performance

Comparing Veykril:veykril/push-xxyqmmxqtpsl (f2f9e11) with master (32bd57c)

Summary

✅ 9 untouched benchmarks

@Veykril Veykril mentioned this pull request Dec 18, 2024
@Veykril Veykril marked this pull request as ready for review December 22, 2024 17:31
@Veykril Veykril changed the title Implement self-referential/lazy interning Implement self-referential/subset key interning Dec 23, 2024
@Veykril Veykril force-pushed the veykril/push-xxyqmmxqtpsl branch from 3790eb9 to 542c829 Compare January 4, 2025 10:09
@Veykril Veykril force-pushed the veykril/push-xxyqmmxqtpsl branch from 542c829 to f2f9e11 Compare January 4, 2025 10:12
Copy link
Member

@nikomatsakis nikomatsakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging for now but obviously it'd be good to add a public API for this at some point, since iiuc you all will be relying on this in rust-analyzer?

@nikomatsakis nikomatsakis added this pull request to the merge queue Jan 6, 2025
Merged via the queue into salsa-rs:master with commit b0623c0 Jan 6, 2025
10 checks passed
davidbarsky pushed a commit to davidbarsky/salsa that referenced this pull request Jan 7, 2025
Implement self-referential/subset key interning
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