Adjust lazy eval heuristic.

This commit is contained in:
jdalton
2015-06-04 09:40:30 -07:00
parent c89fe8bdbc
commit 224a6c1e7c
2 changed files with 25 additions and 19 deletions

View File

@@ -2240,7 +2240,7 @@
: fn(take2, _.compact, filter2, map2);
filterCount = mapCount = 0;
deepEqual(combined(_.range(100)), [4, 16]);
deepEqual(combined(_.range(200)), [4, 16]);
if (!isNpm && WeakMap && WeakMap.name) {
strictEqual(filterCount, 5, 'filterCount');
@@ -4050,7 +4050,7 @@
args = slice.call(arguments);
}).value();
deepEqual(args, [16]);
deepEqual(args, expected);
_(array).map(square).dropRightWhile(function() {
args = slice.call(arguments);