StructArrays.jl icon indicating copy to clipboard operation
StructArrays.jl copied to clipboard

Efficient implementation of struct arrays in Julia

Results 54 StructArrays.jl issues
Sort by recently updated
recently updated
newest added

Hello, I think it would help to have a simpler first example with a Vector and NamedTuple Here is a proposal. ```julia julia> using StructArrays julia> adata = [1, 2]...

Hi Pietro. Great package! Any thought about how to support nested structs? e.g. ``` julia> struct Point x::Int y::Int end julia> struct Foo id::Int name::String pt::Point end julia> x =...

Bumps [julia-actions/setup-julia](https://github.com/julia-actions/setup-julia) from 1 to 2. Release notes Sourced from julia-actions/setup-julia's releases. v2.0.0 - Update to Node20 What's Changed update to node20 by @​ranocha in julia-actions/setup-julia#209 Note the rationale for...

dependencies

Fixes https://github.com/JuliaArrays/StructArrays.jl/issues/300. Delegates the actual computations to broadcasting: for a single argument, map and broadcast share the same semantics. Maybe, this improves something else as well: broadcasting on StructArrays got...

On master `Broadcasted` store style by field. Update accordingly. Test for parent `BroadcastStyle` with field meta has not been added. Just run CI to make sure the code works on...

Start implementing #223 This PR forwards the matrix multiplication to the components, which may lead to a substantial speed-up if the components are BLAS-compatible matrices. On master ```julia julia> using...

It seems like a gotcha that indexing into a `StructArray` will materialize a new struct. Maybe it should return a `LazyRow` by default?

This moves to using a semi-documented interface from a compiler internal function (and at the same time, fixes the issues with `Tuple{Union{}}` on 1.10).

StructArrays components can be GPU arrays, but many operations on them are not supported yet. For example, a simple `map`: ```julia using Metal A = StructArray(a=MtlArray(rand(Float32, 10^3)), b=MtlArray(rand(Int8, 10^3))) map(exp,...