Construct the array operation expression, call object.arrayOp!(tiargs)(args).
Encode operand types and operations into tiargs using reverse polish notation (RPN) to preserve precedence.
Unary operations are prefixed with "u" (e.g. "u~").
Pass operand values (slices or scalars) as args.
Construct the array operation expression, call object.arrayOp!(tiargs)(args).
Encode operand types and operations into tiargs using reverse polish notation (RPN) to preserve precedence. Unary operations are prefixed with "u" (e.g. "u~"). Pass operand values (slices or scalars) as args.
Scalar expression sub-trees of e are evaluated before calling into druntime to hoist them out of the loop. This is a valid evaluation order as the actual array operations have no side-effect. References: https://github.com/dlang/dmd/blob/cdfadf8a18f474e6a1b8352af2541efe3e3467cc/druntime/src/object.d#L4694
https://github.com/dlang/dmd/blob/master/druntime/src/core/internal/array/operations.d