[PR #154] [MERGED] Fix for issue #73 #870

Open
opened 2026-01-29 22:17:56 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/154
Author: @weltkante
Created: 7/20/2016
Status: Merged
Merged: 7/21/2016
Merged by: @adamhathcock

Base: masterHead: issue73b


📝 Commits (1)

📊 Changes

2 files changed (+106 additions, -1 deletions)

View changed files

📝 src/SharpCompress/Compressor/LZMA/DecoderStream.cs (+1 -1)
src/SharpCompress/IO/BufferedSubStream.cs (+105 -0)

📄 Description

7z archives may require alternating reads from multiple substreams so it is important to seek before reading from the underlying stream. To keep performance at an acceptable level it is necessary to perform buffering because seeking on every single one-byte-read will destroy performance.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/adamhathcock/sharpcompress/pull/154 **Author:** [@weltkante](https://github.com/weltkante) **Created:** 7/20/2016 **Status:** ✅ Merged **Merged:** 7/21/2016 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `issue73b` --- ### 📝 Commits (1) - [`f334786`](https://github.com/adamhathcock/sharpcompress/commit/f334786d4bf8305d70ad05e7624a597ad4598768) Fix for issue #73 ### 📊 Changes **2 files changed** (+106 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/SharpCompress/Compressor/LZMA/DecoderStream.cs` (+1 -1) ➕ `src/SharpCompress/IO/BufferedSubStream.cs` (+105 -0) </details> ### 📄 Description 7z archives may require alternating reads from multiple substreams so it is important to seek before reading from the underlying stream. To keep performance at an acceptable level it is necessary to perform buffering because seeking on every single one-byte-read will destroy performance. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:17:56 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#870