Skip to content

Conversation

eytan-starkware
Copy link
Contributor

@eytan-starkware eytan-starkware commented Sep 30, 2025

No description provided.

@reviewable-StarkWare
Copy link

This change is Reviewable

Copy link
Contributor Author

eytan-starkware commented Sep 30, 2025

@eytan-starkware eytan-starkware marked this pull request as ready for review September 30, 2025 15:35
@eytan-starkware eytan-starkware force-pushed the eytan_graphite/tracking_syntaxnode_and_interning_through_a_tracked_function branch from be289ea to 9a64a7b Compare September 30, 2025 15:40
Copy link
Collaborator

@orizi orizi left a 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()
    }

@eytan-starkware eytan-starkware force-pushed the eytan_graphite/tracking_syntaxnode_and_interning_through_a_tracked_function branch from 9a64a7b to 3b0503b Compare October 5, 2025 05:31
Copy link
Contributor Author

@eytan-starkware eytan-starkware left a 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.

Copy link
Collaborator

@orizi orizi left a 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):
:lgtm: but blocking until further oprimizing PRs or release.

Copy link
Collaborator

@TomerStarkware TomerStarkware left a comment

Choose a reason for hiding this comment

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

:lgtm:

@TomerStarkware reviewed 1 of 1 files at r3, all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @eytan-starkware)

@eytan-starkware eytan-starkware force-pushed the eytan_graphite/tracking_syntaxnode_and_interning_through_a_tracked_function branch from d813a17 to a78806e Compare October 15, 2025 11:37
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.

4 participants