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

Improved parse and recognition chart implementations #73

Merged
merged 8 commits into from
Dec 3, 2018

Conversation

srhickma
Copy link
Owner

@srhickma srhickma commented Dec 3, 2018

  • Use separate structs for parse chart and recognition chart in Earley parser.
  • Split complete and incomplete Earley items in the recognition chart. This provided a slight improvement to parse speed (Faster Parser #12), as each parse stage only requires iteration over one of the two collections.

@srhickma srhickma merged commit 722ab36 into master Dec 3, 2018
@srhickma srhickma deleted the dev/earley-chart-row branch December 3, 2018 03:29
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