I’d at least like a version of MArray
that does not unroll.
SArray
itself would be very difficult to make work without unrolling. Even Base.setindex(::NTuple{N,T}, ::T, ::Int)
is unrolled.
It’s easy to reach extremely problematic levels of unrolling with nested dual numbers.