internal virtual void Sort(ScriptFunction compareFn) { QuickSort qs = new QuickSort(this, compareFn); uint length = this.len; if (length <= this.denseArrayLength) { qs.SortArray(0, (int)length - 1); } else { qs.SortObject(0, length - 1); } }
internal virtual void Sort(ScriptFunction compareFn) { QuickSort sort = new QuickSort(this, compareFn); uint len = this.len; if (len <= this.denseArrayLength) { sort.SortArray(0, ((int)len) - 1); } else { sort.SortObject(0L, (long)(len - 1)); } }
internal virtual void Sort(ScriptFunction compareFn){ QuickSort qs = new QuickSort(this, compareFn); uint length = this.len; if (length <= this.denseArrayLength) qs.SortArray(0, (int)length - 1); else qs.SortObject(0, length - 1); }
internal virtual void Sort(ScriptFunction compareFn) { QuickSort sort = new QuickSort(this, compareFn); uint len = this.len; if (len <= this.denseArrayLength) { sort.SortArray(0, ((int) len) - 1); } else { sort.SortObject(0L, (long) (len - 1)); } }