-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Stack uses computed node class to minimize number of feasibility checks #708
Conversation
case strings.HasPrefix(target, "$node.unique."): | ||
return true | ||
|
||
case strings.HasPrefix(target, "$attr."): |
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.
Can we simplify this to just HasPrefix("$attr.unique.")
to avoid the double prefix + double trim
Left some comments, LGTM |
70dfa1a
to
97070f4
Compare
Stack uses computed node class to minimize number of feasibility checks
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Stack uses computed node class to minimize number of feasibility checks