Allocate memory dynamically
Abierto
- Lenguaje dominante
- C
- Estrellas
- 27.9k
- Forks
- 2.6k
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 8
Descripción
**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).
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.