-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: faster ZipCrypto decompression
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.
- Loading branch information
Showing
1 changed file
with
20 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters