PrimitiveBuilder.appendValues

void appendValues(const(T)[] values) @safe pure nothrow

Appends a dense run of valid values in one copy (the bulk path for gather and rebuild kernels).

Parameters

valuesthe values to append (all slots valid)
void appendValues(const(T)[] values, const(ulong)[] validWords) @safe pure nothrow

Appends values with packed validity bits, one bit per slot, LSB-first (ddn.columnar.vector layout). Values at invalid slots are copied verbatim: null slots hold arbitrary bits (D14).

Parameters

valuesthe values to append
validWordsthe packed validity (1 = valid), at least (values.length + 63) / 64 words