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

Stack uses computed node class to minimize number of feasibility checks #708

Merged
merged 10 commits into from
Jan 27, 2016

Conversation

dadgar
Copy link
Contributor

@dadgar dadgar commented Jan 26, 2016

Stack uses computed node class to minimize number of feasibility checks

case strings.HasPrefix(target, "$node.unique."):
return true

case strings.HasPrefix(target, "$attr."):
Copy link
Member

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

@armon
Copy link
Member

armon commented Jan 26, 2016

Left some comments, LGTM

@dadgar dadgar force-pushed the f-feasibility-node-classes branch from 70dfa1a to 97070f4 Compare January 26, 2016 23:17
dadgar added a commit that referenced this pull request Jan 27, 2016
Stack uses computed node class to minimize number of feasibility checks
@dadgar dadgar merged commit 6d72023 into master Jan 27, 2016
@dadgar dadgar deleted the f-feasibility-node-classes branch January 27, 2016 18:12
@github-actions
Copy link

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants