Skip to content

Implement ReadByte for LzmaStream and LzOutWindow#898

Merged
adamhathcock merged 1 commit intoadamhathcock:masterfrom
Morilli:lz-readbyte
Feb 17, 2025
Merged

Implement ReadByte for LzmaStream and LzOutWindow#898
adamhathcock merged 1 commit intoadamhathcock:masterfrom
Morilli:lz-readbyte

Conversation

@Morilli
Copy link
Contributor

@Morilli Morilli commented Feb 16, 2025

Similar to #897, this improves performance and reduces memory allocations when reading certain 7-zip files.

Using the .7z file from #399 (comment), I measured a speedup in reading / skipping the entire .7z file from ~23 seconds to ~18 seconds, and memory allocations dropped by ~8.5GB.

@adamhathcock
Copy link
Owner

awesome, thanks!

@adamhathcock adamhathcock merged commit 34cd059 into adamhathcock:master Feb 17, 2025
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.

2 participants

Comments