forked from Stuk/jszip
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A pako object contains a 64k buffer. We create a `FlateWorker` for each zip entry, meaning a zip file with a lot of entries would take **a lot** of memory. Lazy-loading the pako object isn't the best solution but it's the quickest. The best solution is to lazy-load the worker list. Mitigate the issue Stuk#446.
- Loading branch information
1 parent
c978642
commit ed3d333
Showing
1 changed file
with
29 additions
and
12 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