Function expry::expry_slice
source · pub fn expry_slice<'b, 'c>(
bytecode: BytecodeRef<'b>,
values: &mut Vec<EncodedValueRef<'b>>,
allocator: &mut MemoryScope<'c>
) -> Result<EncodedValueRef<'b>, EvalError<'b>>where
'c: 'b,
Expand description
Evaluate expression bytecode in the context of the given value
, resulting in an encoded
value.
The encoded resulting value can be directly transfered over a wire.
This version is cheaper because values can be included directly in encoded form, so a decoding step is skipped.