Oliver Schulz
Oliver Schulz
I've created #21 as a reminder regarding JuliaLang/julia#32310 .
Here's a load time analysis of`ArraysOfArrays`, with and without support for `StatsBase` and `StaticArrays` and with and without using them (I ran everthing 22 time, discarding the first two runs):...
The load time of `ArraysOfArrays` itself can probably not be improved much, it's already invalidation-free (in contrast to `StatsBase` and `StaticArrays`, but I those are probably already as optimized as...
> As expected, the timings show that Requires increases loading times in particular if the conditional dependencies are loaded. Indeed. And since the extra code activated here in that case...
Update: #26 has removed all requires. We have StaticArraysCore.jl now, and Julia v1.9 (and hopefully Compat.jl as well) will bring `Base.AbstractSlices` as a common basis for sliced-array-like data structures.
Thanks! Yes, the `getindex`/`eltype` inconsistency is annoying, esp. when using it with `StructArray` or `TypedTable`. I definitely want to solve that, but it's a bit tricky - just using the...
There's also this problem: If we just make `eltype` returns the right thing, then there would be a mismatch between `eltype` and the element type deduced from `T` in `foo(A::AbstractArray{T)`...
I fully agree, @piever. That's what makes it a bit more tricky - but I have an idea (like you said, via constructor), I'll try it out.
@piever, @colinxs, haven't forgotten about this - holiday season, but it's definitely on my short-term ToDo list.
Update: Haven't forgotten about this, just had to be put on hold for some other urgent work. Will get back on this soon.