Understanding and optimizing compiler time (just a bit)

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.

3 Likes

A post was split to a new topic: Repeated compilation for same function