Lazy-Loaded Sample Files
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 1.3k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 7
Description
Using mapped files for samples has a lot of advantages:
- remove the size limit
- save memory
- save loading time
https://github.com/gi0e5b06/lmms/blob/master/src/core/SampleBuffer.cpp
One project of mine was taking 48s to load and 1.2GB of RAM (big samples), now it loads instantly (less than 1s) and only takes 80MB.
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 with src/core/SampleBuffer.cpp and compare the current sample-loading path with the linked proposal. The issue does not define the supported scope, platform constraints, tests, or acceptance criteria; those would need to be established before implementation. Done should include agreed behavior and evidence that large samples meet the stated loading-time and memory goals.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100