queryverse / queryverse/IteratorInterfaceExtensions.jl
suggestion: static iterator size trait
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 11
- Forks
- 3
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 2
Description
I am proposing that another trait is added to IteratorSize2 to indicate that size is known statically, ie encoded in the result type.
Practical application is collecting into something like a StaticArrays.SArray or similar.
Bikeshedding the name is welcome, HasStaticLength and HasStaticShape could work.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the IteratorSize2 trait and its existing implementations and consumers. Clarify whether the static size belongs in the trait itself or its result type, settle the naming and semantics for StaticArrays.SArray-like collection, and add tests that demonstrate the intended behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100