Andy Ferris

Results 373 comments of Andy Ferris

The _one_ thing I wish Julia had to support this nicely was mutable version of tuple. The escape analysis and codegen already work perfectly well, I’d just want conversions between...

Really nice - so that does the end up with good code these days? Do we end up with a bunch of extra move instructions on the last line or...

> There's a WIP PR to Base (JuliaLang/julia#34126) which puts pointers inline, so that could maybe help fix MArray with BigFloat etc (though we'd still need extra care to preserve...

> > Yes agreed things are getting simpler! I think the larger way forward is to start using freeze (or some freeze-like thing) internally in StaticArrays and see whether we...

Haha! Yes we definitely need “shape frozen” vs “value frozen” semantics and I meant that `issettable` is only for mutating values not the shape. My experience with Dictionaries.jl is containers...

So I started experimenting further: https://github.com/andyferris/StaticArraysLite.jl So far the basic functionality is quite competitive to StaticArrays for `SVector{3, Float64}`. Would be very interesting to see how this goes for matrices...

Very nice! Do you think this is something we should import SIMD.jl for, or could we rather specialize the 3x3 matrix multiplication case? What happens with SIMD and large matrices...

Yes, that is interesting. What I feel we should really be using is something like `SArray{axes, T, N, L}` where for example `axes = (OneTo(3),)` for a standard length-3 static...

For reference, IIRC last time I thought about using `VecElement` LLVM would crash for odd lengths 7 and up, and the fact that 5 didn’t crash was brand new. It...

Did we consider `SVector{2}([1, 2])`? If the `eltype` isn't obvious it can go on the inner array, like `SVector{2}(Any[1, 2])`, so effectively reusing the logic applied to `Vector` in a...