From 2c195da15eba94ebf33dd7901e76fae6efe9002a Mon Sep 17 00:00:00 2001 From: Kresten Krab Thorup Date: Sun, 6 May 2012 11:46:20 +0200 Subject: [PATCH] Let the "fast" merge strategy be the default --- src/hanoi_level.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hanoi_level.erl b/src/hanoi_level.erl index c084c03..e246933 100644 --- a/src/hanoi_level.erl +++ b/src/hanoi_level.erl @@ -629,7 +629,7 @@ do_step(StepFrom, PreviousWork, State) -> TotalWork = (MaxLevel-?TOP_LEVEL+1) * WorkUnit, WorkUnitsLeft = max(0, TotalWork-PreviousWork), - case hanoi:get_opt( merge_strategy, State#state.opts, predictable) of + case hanoi:get_opt( merge_strategy, State#state.opts, fast) of fast -> WorkToDoHere = min(WorkLeftHere, WorkUnitsLeft); predictable ->