Project-MONAI / Project-MONAI/MONAI
enhance memory management `csrc/filtering/permutohedral`?
Open
Nobody has claimed this yet.
Feature request
- Dominant language
- Python
- Stars
- 8.7k
- Forks
- 1.6k
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 20
Description
it would be nicer to replace the c arrays by c++ objects (std::vector or std::array when possible). The current memory management seems brittle.
Originally posted by @tvercaut in https://github.com/Project-MONAI/MONAI/issues/3698#issuecomment-1020327709
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 reading csrc/filtering/permutohedral and catalog the C arrays and their ownership. The work is done when applicable arrays use std::vector or std::array without changing the filtering behavior, with relevant existing tests still passing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100