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

perf: faster ZipCrypto decompression #92

Merged
merged 1 commit into from
Aug 24, 2024
Merged

Conversation

michalc
Copy link
Member

@michalc michalc commented Aug 24, 2024

Inspired by the report at #91, found some performance improvements for the ZipCrypto function, decrypt_weak_decompress. From some light testing of a password proteceted 100MB file of pseudo-random data on my local filesystem, it seems to reduce decryption+decompression time from ~55 seconds to ~45 seconds, which also makes it a bit faster than Python's zipfile, at least in this circumstance.

Inspired by the report at #91,
found some performance improvements for the ZipCrypto function,
decrypt_weak_decompress. From some light testing of a password proteceted 100MB
file of pseudo-random data on my local filesystem, it seems to reduce
decryption+decompression time from ~55 seconds to ~45 seconds, which also makes
it a bit faster than Python's zipfile, at least in this circumstance.
@michalc michalc force-pushed the perf/faster-password-decrypt branch from 176e274 to 7075b7c Compare August 24, 2024 07:16
@michalc michalc merged commit 92b1c1d into main Aug 24, 2024
5 checks passed
@michalc michalc deleted the perf/faster-password-decrypt branch August 24, 2024 07:22
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.

1 participant