MCPcopy Index your code
hub / github.com/plotly/plotly.js / wrapper

Function wrapper

stackgl_modules/index.js:7365–7371  ·  view source on GitHub ↗
(data, n0)

Source from the content-addressed store, hash-verified

7363var INSERT_SORT_CUTOFF = 32
7364
7365function wrapper(data, n0) {
7366 if (n0 <= 4*INSERT_SORT_CUTOFF) {
7367 insertionSort(0, n0 - 1, data);
7368 } else {
7369 quickSort(0, n0 - 1, data);
7370 }
7371}
7372
7373function insertionSort(left, right, data) {
7374 var ptr = 2*(left+1)

Callers 1

bakeOrientFunction · 0.85

Calls 2

insertionSortFunction · 0.85
quickSortFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…