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

Fix #215. #216

Merged
merged 1 commit into from
Apr 26, 2016
Merged

Fix #215. #216

merged 1 commit into from
Apr 26, 2016

Conversation

BurntSushi
Copy link
Member

Most prominently, this reduces the threshold at which backtracking will
run. It looks like giving it much more room than this ends up making it
run slower than the Pike VM because of the zeroing that has to be done
before searching.

In the process, we get rid of the "max program size" and "max input"
distinction. What we want to optimize for is the total size of the state
table, so do that instead.

Most prominently, this reduces the threshold at which backtracking will
run. It looks like giving it much more room than this ends up making it
run slower than the Pike VM because of the zeroing that has to be done
before searching.

In the process, we get rid of the "max program size" and "max input"
distinction. What we want to optimize for is the total size of the state
table, so do that instead.
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.

1 participant