feat: reduce word list size
This commit is contained in:
parent
2a8b342b91
commit
9a855daabf
@ -7,7 +7,7 @@
|
|||||||
const std::string WordListGenerator::charset_ = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
const std::string WordListGenerator::charset_ = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
||||||
|
|
||||||
std::vector<std::string> WordListGenerator::generate() {
|
std::vector<std::string> WordListGenerator::generate() {
|
||||||
const size_t multiplier = 10;
|
const size_t multiplier = 1;
|
||||||
|
|
||||||
std::vector<std::string> result;
|
std::vector<std::string> result;
|
||||||
result.reserve(multiplier * std::pow(charset_.length(), 4));
|
result.reserve(multiplier * std::pow(charset_.length(), 4));
|
||||||
|
Reference in New Issue
Block a user