paritytech / paritytech/parity-scale-codec
`<[T, $n]>::decode` implementation can make use of TypeInfo
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 287
- Forks
- 103
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 1
Description
for now it decode using an ArrayVec but this can be optimised for type with TypeInfo
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 in src/codec.rs around lines 705–716 and read the current <[T, $n]>::decode implementation, including its use of ArrayVec and the available TypeInfo. Determine how TypeInfo can replace or optimize that path; done means decoding uses the TypeInfo-based optimization while preserving the existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100