I could add a method.
And you wouldn’t have to recompute:
s = _simple(vx)
f = _full(vx)
x = IfElse.ifelse(vx == 0, s[1], f[1])
y = IfElse.ifelse(vx == 0, s[2], f[2])
Alternatively, this should already work:
VectorizationBase.data(IfElse.ifelse(vx == 0, VecUnroll(_simple(vx)), VecUnroll(_full(vx))))