MCPcopy Index your code
hub / github.com/nodejs/node / compareUsingOffset

Function compareUsingOffset

benchmark/buffers/buffer-compare-offset.js:15–18  ·  view source on GitHub ↗
(b0, b1, len, iter)

Source from the content-addressed store, hash-verified

13}
14
15function compareUsingOffset(b0, b1, len, iter) {
16 for (let i = 0; i < iter; i++)
17 b0.compare(b1, 1, len, 1, len);
18}
19
20function main({ n, size, method }) {
21 const fn = method === 'slice' ? compareUsingSlice : compareUsingOffset;

Callers

nothing calls this directly

Calls 1

compareMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…