Feature/add configuration option for custom dictionaries#9
Feature/add configuration option for custom dictionaries#9Saoma1 wants to merge 8 commits intoformigarafa:masterfrom
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! |
…ture/add_configuration_option_for_custom_dictionaries
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