You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thank you for creating and maintaining this excellent Go library for reading 7z files. It has been very helpful for our project.
Background
I'm working on implementing parallel access to 7z files stored in object storage. To achieve this efficiently, I need to be able to:
Know the compressed size of each stream to make ranged GET requests
Know the offset of each compressed stream to access specific parts
Feature Request
Please add two new methods to the Reader interface:
A method to get the compressed size for each stream
A method to get the offset position of each compressed stream in the archive
Use Case
This would enable efficient parallel processing of 7z files stored in object storage by:
Making precise ranged GET requests for specific streams
Allowing multiple workers to process different streams concurrently
Minimizing unnecessary data transfer
Technical Details
The requested methods could look something like:
// Returns the compressed size of the specified streamfunc (r*Reader) GetStreamCompressedSize(streamIndexint) (uint64, error)
// Returns the offset of the specified stream in the archivefunc (r*Reader) GetStreamOffset(streamIndexint) (uint64, error)
I'm happy to create a Pull Request for this feature if you think it would be helpful.
The text was updated successfully, but these errors were encountered:
orisano
changed the title
Add methods to get compressed size and offset for each stream
Add methods to get compressed size and offset for each stream (folder)
Jan 24, 2025
I'm trying to understand how you'd make use of this. Is this so you would just fetch the raw streams and read them separately? How do you know what compression algorithm(s) are used? Surely you need that information as well?
First of all, thank you for creating and maintaining this excellent Go library for reading 7z files. It has been very helpful for our project.
Background
I'm working on implementing parallel access to 7z files stored in object storage. To achieve this efficiently, I need to be able to:
Feature Request
Please add two new methods to the Reader interface:
Use Case
This would enable efficient parallel processing of 7z files stored in object storage by:
Technical Details
The requested methods could look something like:
I'm happy to create a Pull Request for this feature if you think it would be helpful.
The text was updated successfully, but these errors were encountered: