mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Avoid set optimization if iteratee is provided to baseUniq.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user