-
Notifications
You must be signed in to change notification settings - Fork 9
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
Feature/add configuration option for custom dictionaries #9
base: master
Are you sure you want to change the base?
Feature/add configuration option for custom dictionaries #9
Conversation
I like this idea, too. I have been investigating something along these lines since the beginning. I did not committed with this approach because I am still wondering what can I do to load the dictionaries faster, save memory after loaded, and release memory when no longer needed to keep them loaded. I understand that these listed ideas listed may not be compatible with each other. Sorry for taking that long, but I will have a bit more thought around it. Maybe also add a reset/replace option, so you can get a completely fresh dictionary. I am also wondering If I should change the current dictionaries to files to be loaded and have a single interface to everything. What you think? |
@formigarafa thanks for writing back. So right now I use your gem in a rails app, there, I want the dictionaries to be loaded ones and be kept in memory. I do see the value of a reset/reload method as we might not want to reload the whole application. If I can help out in any way let me know 🙂 |
I understand your point and keeping dictionaries in memory is what the gem does atm. |
@formigarafa awesome, that is great to hear & thank you for your work! I will test it out once you merge it! |
Description
This pull request adds a new configuration option to the Zxcvbn library, allowing users to customize to add custom dictionaries in the form of a text file.
Changes Made