JuliaArrays / JuliaArrays/StructArrays.jl

Support `Base.emptymutable`

Open
#238 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
402
Forks
49
PR merge metrics
No merged PRs in 30d

Description

I wonder if we could add support for Base.emptymutable in StructArrays? For arrays it behaves like similar but with guarantee that you can push!, etc to the output (while similar outputs must support setindex! but not necessarily resizing), and is used internally in various algorithms (and occassionally in the package ecosystem, e.g. xref https://github.com/JuliaData/SplitApplyCombine.jl/pull/54).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by comparing StructArrays' existing array-construction methods with Julia's Base.emptymutable behavior; done means StructArrays supports the requested mutable, resizable output and the behavior is covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.