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?
to your account
The text was updated successfully, but these errors were encountered:
The file is loaded asynchronously but the file contains roughly 250,000 words that are loaded into an array which is then iterated over. The browser freezes while the for loop is running over the array.
Sorry, something went wrong.
The for loop is pretty much instantaneous, the (largely unavoidable) slowdown is when it goes to print all the words it matched. Best solution is to limit the number of words loaded at a time
Successfully merging a pull request may close this issue.