Last active
December 5, 2018 21:47
-
-
Save damonvjanis/33149014a3b511bd6cb76c5c33ea6479 to your computer and use it in GitHub Desktop.
Generates some big data sets to test matching
This file contains hidden or 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
random = fn -> Enum.random(97..122) end | |
string = fn -> to_string([random.(), random.(), random.(), random.()]) end | |
leads = | |
for _ <- 1..10_000 do | |
%{"first" => string.(), "last" => string.(), "email" => string.() <> "@example.com"} | |
end | |
contacts = | |
for _ <- 1..10_000 do | |
%{"first" => string.(), "last" => string.(), "email" => string.() <> "@example.com"} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment