pub fn mark_optimized(
array: &ArrayRef,
session: &VortexSession,
) -> VortexResult<()>Expand description
Marks a benchmark input as optimized, as decoding marks the arrays that a reader returns.
Execution optimizes each array that it reaches unless the array is already marked. An input that a benchmark builds with constructors is not marked, so without this call the benchmark also times the optimizer.
ยงPanics
Panics if the optimizer rewrites array. Then the benchmark would time an array other than
the one it built.