User:Jontow
Jump to navigation
Jump to search
Contact Details
- Name: Jonathan Towne
- Email: jontow AT hijacked DOT us
- Profession: UNIX System/Network Administrator; involving Network Security, Development, and other.. they tell me this is "DevOps" now.
TODO
Deployments
Misc Code
Research
Scratch Space
1 % -- Note: Part 1 uses ?MATCHSTRING1
2 %
3
4 -module(day4par).
5 -export([tc_solve_part1/0, tc_solve_part2/0,
6 prof_solve_part1/0, prof_solve_part2/0,
7 solve_part1/0, solve_part2/0,
8 worker_run/1, foreman_run/3]).
9 -define(MATCHSTRING1, "00000").
10 -define(MATCHSTRING2, "000000").
11 -define(SEED, "iwrupvqb").
12 -define(WORKERS, 2).
13 -define(MBOXDEPTH, 5000).
14 -define(BACKOFFMS, 250).
15
16 tc_solve_part1() ->
17 timer:tc(fun() -> solve_part1() end).