mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
[PR #966] [MERGED] Remove a dynamically created stackalloc #1383
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/966
Author: @adamhathcock
Created: 10/22/2025
Status: ✅ Merged
Merged: 10/22/2025
Merged by: @adamhathcock
Base:
master← Head:adam/reduce-stackalloc📝 Commits (4)
6de738freduce dynamic stackallocs in unpackv101021e1remove some extra stackallocs36c06c4ugh, this is used because it shadows a field74e27c0fix the span length📊 Changes
2 files changed (+25 additions, -15 deletions)
View changed files
📝
src/SharpCompress/Compressors/Rar/UnpackV1/Unpack.cs(+21 -12)📝
src/SharpCompress/Compressors/Rar/VM/RarVM.cs(+4 -3)📄 Description
Hopefully there's no more that will blow out the stack.
Fixes https://github.com/adamhathcock/sharpcompress/issues/965
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.