adamhathcock / sharpcompress

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

rar5 improve memory usage #816

Closed coderb closed 8 months ago

coderb commented 8 months ago

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

adamhathcock commented 8 months ago

Thanks!

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