JuliaDiffEq with custom types

diffeq

#21

Nice! I didn’t know about the Val variant of ntuple. This is the fastest so far (along with unrolled tuple construction). This gets it to 1.2x of StaticArray and to 1.4x without those special-case _copy methods.


#22

Interesting! I thought it would be just equivalent to @set!.


#23

Yep, ntuple seems a little faster. For larger input vectors the difference increases. I think it is many due to the fact that ntuple unrolls the loop. If I manually unroll the Setfield loop, it’s the same speed.