-
Notifications
You must be signed in to change notification settings - Fork 633
Tracking SyntaxNode and interning through a tracked function #8489
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
base: main
Are you sure you want to change the base?
Tracking SyntaxNode and interning through a tracked function #8489
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
be289ea
to
9a64a7b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@orizi reviewed 2 of 4 files at r1, all commit messages.
Reviewable status: 2 of 4 files reviewed, 1 unresolved discussion (waiting on @TomerStarkware)
crates/cairo-lang-syntax/src/node/mod.rs
line 94 at r1 (raw file):
use salsa::plumbing::AsId; self.0.as_id() }
is this just for the debug info?
Code quote:
/// Convert from a tracked ID.
pub fn from_intern_id(intern_id: salsa::Id) -> Self {
use salsa::plumbing::FromId;
Self(SyntaxNodeData::from_id(intern_id))
}
/// Convert to a tracked ID.
pub fn as_intern_id(self) -> salsa::Id {
use salsa::plumbing::AsId;
self.0.as_id()
}
9a64a7b
to
3b0503b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: 2 of 4 files reviewed, 1 unresolved discussion (waiting on @orizi and @TomerStarkware)
crates/cairo-lang-syntax/src/node/mod.rs
line 94 at r1 (raw file):
Previously, orizi wrote…
is this just for the debug info?
Yes. it was part of inlining the short_id macro, but I removed these function now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@orizi reviewed 1 of 4 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @TomerStarkware)
a discussion (no related file):
but blocking until further oprimizing PRs or release.
899e353
to
d813a17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TomerStarkware reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @eytan-starkware)
d813a17
to
a78806e
Compare
No description provided.