chunkIndexFor

private fnsize_t chunkIndexFor(const size_t[] starts, size_t row) @safe pure nothrow

The binary search of the chunk holding a global row.

Parameters

startsthe global start index of every chunk
rowthe global row

Returns

the chunk index holding row.