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

typo.suggest may take more than 25 seconds and block the browser #83

Open
x4d3 opened this issue Jan 19, 2024 · 0 comments
Open

typo.suggest may take more than 25 seconds and block the browser #83

x4d3 opened this issue Jan 19, 2024 · 0 comments

Comments

@x4d3
Copy link

x4d3 commented Jan 19, 2024

Using a french dictionary, calling typo.suggest("Anticonstiutni2onlleemnt") takes more than 25 seconds and block the browser

Issue is demonstrated here

https://github.com/x4d3/typo-js-issues/tree/main
https://x4d3.github.io/typo-js-issues/

Dictionary used

https://github.com/x4d3/typo-js-issues/blob/main/fr_FR.aff
https://github.com/x4d3/typo-js-issues/blob/main/fr_FR.dic

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

No branches or pull requests

1 participant