Skip to content

Add no-super-linear-move rule #246

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

Merged
merged 4 commits into from
Jun 14, 2021
Merged

Add no-super-linear-move rule #246

merged 4 commits into from
Jun 14, 2021

Conversation

RunDevelopment
Copy link
Collaborator

This is the other rule I wanted to add, as mention in #242.

This one detects super-linear runtime caused by moves, not backtracking.

The detected cases are actually really hard to fix, so this rule isn't auto-fixable. But I added an explanation of 3 fixing strategies in the docs to compensate.

@RunDevelopment RunDevelopment requested a review from ota-meshi June 13, 2021 13:13
@ota-meshi ota-meshi merged commit ac76e5c into master Jun 14, 2021
@ota-meshi ota-meshi deleted the no-super-linear-move branch June 14, 2021 06:50
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.

2 participants