Created
April 11, 2014 09:41
-
-
Save dchest/10454036 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
var ps = {}; | |
for (var i = 0; i < 1000000; i++) { | |
var p = GPW.pronounceable(7); | |
if (p.length != 8) { | |
console.log("#"+i+" bad length: ", p); | |
} | |
if (ps[p]) { | |
console.log("#"+i+" collission!", p); | |
return; | |
} | |
ps[p] = true; | |
if (i % 1000 === 0) console.log(i); | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment