Tweak _.sortedIndex for Chrome optimizations.

Former-commit-id: d1d9f1bd1ecfd3bcde98aa51423e05e128f6ffd4
This commit is contained in:
John-David Dalton
2012-06-14 01:06:08 -04:00
parent 3223e4ffa5
commit c2db180829

View File

@@ -1602,8 +1602,7 @@
if (callback) {
if (thisArg) {
var fn = callback;
callback = function(value) { return fn.call(thisArg, value); };
callback = bind(callback, thisArg);
}
value = callback(value);
while (low < high) {