Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use gb_sets rather than sets, giving a speed improvement and reducing
the number of eliminations somewhat. Thanks to Ahmed Omar for the tip: http://groups.google.com/group/erlang-programming/browse_thread/thread/c81df3ff14fc6feb/da2cc43998a70053#da2cc43998a70053 New results (on my Macbook with 2GHz Intel Core 2 Duo): Solved 50 of 50 puzzles from easy50.txt in 1.960654 secs (25.50 Hz) (92538 total eliminations, avg 1850.76, median 1811, max 2628, min 1767). Solved 95 of 95 puzzles from top95.txt in 13.472294 secs (7.05 Hz) (901201 total eliminations, avg 9486.33, median 6267, max 56820, min 1792). Solved 11 of 11 puzzles from hardest.txt in 0.600741 secs (18.31 Hz) (33653 total eliminations, avg 3059.36, median 3023, max 5346, min 1786).
- Loading branch information