Type stability while looping over Tuple

Maybe I am misunderstanding, but why can’t you wrap the inner loop in a function and use @unroll on that inner function? Maybe a MWE code closer to the structure you have can help…

Also this thread is useful for a similar discussion.