We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18fff8a commit e722a8aCopy full SHA for e722a8a
src/Data/Traversable.js
@@ -24,7 +24,7 @@ exports.traverseArrayImpl = function () {
24
case 1: return map(array1)(f(array[bot]));
25
case 2: return apply(map(array2)(f(array[bot])))(f(array[bot + 1]));
26
default:
27
- var pivot = bot + Math.floor((top - bot) / 4) * 2;
+ var pivot = Math.floor((top + bot) / 2);
28
return apply(map(concat2)(go(bot, pivot)))(go(pivot, top));
29
}
30
0 commit comments