yesodweb / yesodweb/persistent
Investigate `Vector` instead of `[]` for things
Open
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 486
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
persistent uses [] a lot, where Vector could represent a significant performance improvement. Would be good to investigate this
Contributor guide
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 inspecting the persistent repository for uses of [] that could represent collections and identify the corresponding Vector APIs. Establish benchmarks for the relevant operations before changing representations, then compare the results to determine whether Vector provides a significant improvement without affecting behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- performance
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100