meilisearch / meilisearch/arroy
Something else I noticed is that 12% of the time is spent on this function:
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 311
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Something else I noticed is that 12% of the time is spent on this function:
We can probably optimize that a bit by sharing the allocation between the successive calls or at least specifying the capacity if that helps (but rust should be able to guess it in this case 🤔)
Originally posted by @irevoire in https://github.com/meilisearch/arroy/issues/130#issuecomment-2966791774
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
Review the profiling screenshots to identify the function responsible for the reported 12% of runtime and inspect its successive calls and allocations. Measure whether sharing an allocation or specifying capacity improves the workload, and consider the issue complete only when the optimization is validated without changing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100