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

Suggestion making code overhaul! #42

Merged
merged 4 commits into from
Jun 14, 2018
Merged

Suggestion making code overhaul! #42

merged 4 commits into from
Jun 14, 2018

Conversation

mominul
Copy link
Member

@mominul mominul commented Jun 14, 2018

🎉 🎊
I have always wanted to do this kind of optimization and refactoring for a long time. I believe this would improve the performance of phonetic suggestion making. Now if any autocorrect suggestion is available, it would be shown as the first item of the suggestion list.

mominul added 4 commits June 13, 2018 15:13
Set the regex patterns in the constructor and optimize them.
Initialize RegexParser only once.
Remove duplicates
@mominul mominul self-assigned this Jun 14, 2018
@mominul mominul merged commit 1db386d into master Jun 14, 2018
@mominul mominul deleted the suggestion-overhaul branch June 14, 2018 17:41
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