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

Exact words #22

Merged
merged 5 commits into from Feb 5, 2022
Merged

Exact words #22

merged 5 commits into from Feb 5, 2022

Conversation

subins2000
Copy link
Member

@subins2000 subins2000 commented Feb 5, 2022

Fixes #21

  • Adds a new higher prioirty ExactWords result along with ExactMatches. How it differs:
    • ExactWords - Exactly found words in dictionary if there is any.
    • ExactMatches - Exactly starting word matches in dictionary if there is any. Not applicable for patterns dictionary.
  • Avoid item variable in range loops to save memory copying wherever possible. for i, item := range to for i := range

@subins2000 subins2000 merged commit 4d1021d into master Feb 5, 2022
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.

Weird exact matches result for a non-existing word
1 participant