shorted delays in bg search
svn: r10489
This commit is contained in:
parent
8fb7e764c7
commit
e7339d7415
|
@ -360,11 +360,11 @@ function Search(data, term, is_pre, K) {
|
||||||
else if (min > C_fail) wordmatches.push(data[i]);
|
else if (min > C_fail) wordmatches.push(data[i]);
|
||||||
fuel--; i++;
|
fuel--; i++;
|
||||||
}
|
}
|
||||||
if (i<data.length) t = setTimeout(DoChunk, 25);
|
if (i<data.length) t = setTimeout(DoChunk,15);
|
||||||
else return K([exacts.length, exacts.concat(matches).concat(wordmatches)]);
|
else return K([exacts.length, exacts.concat(matches).concat(wordmatches)]);
|
||||||
};
|
};
|
||||||
if (!K) return DoChunk();
|
if (!K) return DoChunk();
|
||||||
else { progress(0); t = setTimeout(DoChunk,25); return killer; }
|
else { progress(0); t = setTimeout(DoChunk,15); return killer; }
|
||||||
}
|
}
|
||||||
|
|
||||||
var search_data; // pre-filtered searchable index data
|
var search_data; // pre-filtered searchable index data
|
||||||
|
|
Loading…
Reference in New Issue
Block a user