Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rar5 improve memory usage #816

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

coderb
Copy link
Contributor

@coderb coderb commented Mar 14, 2024

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

@coderb coderb force-pushed the pullreq-rar-memusage branch 5 times, most recently from d2d4755 to 26b324e Compare March 14, 2024 15:47
  use ArrayPool for stream buffer
  use stackalloc for methods on file decompression code path
@adamhathcock
Copy link
Owner

Thanks!

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

@adamhathcock adamhathcock merged commit 498d132 into adamhathcock:master Mar 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants