Skip to content

Add ArrayHandleDiscard for unused outputs.

ArrayHandleDiscard is intended to be used for worklets that produce multiple output arrays when one or more outputs is not needed. It does not allocate space for its data and the Set method is a no-op, allowing the compiler to prune unnecessary instructions. Reading from the array handle is not allowed.

Closes #113 (closed)

Merge request reports