Allocate memory dynamically
Aperta
- Lingua principale
- C
- Stelle
- 27.9k
- Fork
- 2.6k
- Merge medio
- 1g 3h
- PR unite (30g)
- 8
Descrizione
**Is your feature request related to a problem? Please describe.**
`zst` reserves the entire specified memory shortly after starting, even if the amount of processed data is nowhere close.
**Describe the solution you'd like**
If possible, I suggest only allocating as much memory as needed at a time, rather than immediately reserving the entire specified memory.
**Describe alternatives you've considered**
This is also the behaviour of LZMA-based compressors (lzma, xz, 7z).
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.