-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Rust: restrict canonical path calculations #18165
base: main
Are you sure you want to change the base?
Conversation
import codeql.rust.elements.ParenType | ||
import codeql.rust.elements.Pat | ||
import codeql.rust.elements.Path | ||
import codeql.rust.elements.PathAstNode |
Check warning
Code scanning / CodeQL
Redundant import Warning
codeql.rust.elements.PathExpr
Redundant import, the module is already imported inside
codeql.rust.elements.PathPat
Redundant import, the module is already imported inside
codeql.rust.elements.RecordExpr
Redundant import, the module is already imported inside
codeql.rust.elements.RecordPat
Redundant import, the module is already imported inside
codeql.rust.elements.TupleStructPat
@hvitved could you lend me a hand here with the dataflow changes? I tried to preserve the implementation while shifting around the path resolution from |
Seems like this is helping performance, although not by a great deal: end2end time went down with a median of around -4%, with some faster outliers: |
Aren't the |
No description provided.