Fix comment of quicksort bailout parameter on array.js
This comment was just left behind: https://codereview.chromium.org/6006 BUG=v8:5413 Review-Url: https://codereview.chromium.org/2794863002 Cr-Commit-Position: refs/heads/master@{#44334}
This commit is contained in:
parent
7a6e6bb1e2
commit
e43cc913f9
@ -708,7 +708,7 @@ function ArraySplice(start, delete_count) {
|
||||
|
||||
function InnerArraySort(array, length, comparefn) {
|
||||
// In-place QuickSort algorithm.
|
||||
// For short (length <= 22) arrays, insertion sort is used for efficiency.
|
||||
// For short (length <= 10) arrays, insertion sort is used for efficiency.
|
||||
|
||||
if (!IS_CALLABLE(comparefn)) {
|
||||
comparefn = function (x, y) {
|
||||
|
Loading…
Reference in New Issue
Block a user