Avoid set optimization if iteratee is provided to baseUniq.

This commit is contained in:
John-David Dalton
2015-11-24 00:21:58 -08:00
parent ce6c0f3082
commit a6bc1fa316

View File

@@ -3423,7 +3423,7 @@
includes = arrayIncludesWith; includes = arrayIncludesWith;
} }
else if (length >= LARGE_ARRAY_SIZE) { else if (length >= LARGE_ARRAY_SIZE) {
var set = createSet(array); var set = iteratee ? null : createSet(array);
if (set) { if (set) {
return setToArray(set); return setToArray(set);
} }