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

Save memory when decompressing data #976

Merged
merged 2 commits into from
Feb 22, 2025
Merged

Save memory when decompressing data #976

merged 2 commits into from
Feb 22, 2025

Conversation

dachengx
Copy link
Collaborator

@dachengx dachengx commented Feb 22, 2025

Streaming decompression can significantly reduce memory usage of bz2 and lz4. To keep backward compatibility, the decompress key is kept. The memory-reduced function is assigned to _decompress key.

@dachengx dachengx force-pushed the low_memory_decompress branch from 3aa8e23 to 387742d Compare February 22, 2025 15:19
@coveralls
Copy link

Coverage Status

coverage: 89.184% (+0.06%) from 89.122%
when pulling 89919a4 on low_memory_decompress
into 8642c39 on master.

@dachengx dachengx marked this pull request as ready for review February 22, 2025 16:53
@dachengx dachengx merged commit 3435d5c into master Feb 22, 2025
7 checks passed
@dachengx dachengx deleted the low_memory_decompress branch February 22, 2025 23:35
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