I've a function that is called multiple times
function fun()persistent x y zif isempty(x)x = %
endif isempty(y)y = %endif isempty(z)z = %endend
How can I do better without having multiple if statements? Can we vectorize the variables and check once?
Any suggestions will be really helpful
Best Answer