adamhathcock / sharpcompress

SharpCompress is a fully managed C# library to deal with many compression types and formats.
MIT License
2.22k stars 476 forks source link

rar5 improve memory usage #816

Closed coderb closed 3 months ago

coderb commented 3 months ago

use ArrayPool for stream buffer use stackalloc for methods on file decompression code path

adamhathcock commented 3 months ago

Thanks!

Stackalloc is troublesome for async usage but not sure async fits.