zero-copy

Handing data along by reference to the same memory rather than duplicating it, which saves time and memory.

In more detail

The trade-off is that every holder sees every change. Buffer.subarray() and passing a SharedArrayBuffer to a worker are zero-copy; postMessage with ordinary objects is not.

Related terms

Taught in

References