-
Notifications
You must be signed in to change notification settings - Fork 506
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
Use webworker for stream copy #364
Comments
Why do you want to use a web worker in such a case? |
In my zip file there're lots of zip/gz/tar files inside, they will be copied in chrome main thread, which will cost much resource of main thread and will also be affected by user action(minimize chrome/switch to other tab) |
The problem is that web workers would do nothing. It would just help to slow down the extraction (thanks to message passing). In zip.js, the main thread is always responsible for concatenating chunks. A way to solve this issue would be to pass the |
I just pushed the version 2.6.24 which allows you to pass a new option when creating a new |
Thanks so much! |
In zipjs I find that for not compressed entry it will never use webworker.
While in my case I also want to use webworker to do the copy.
Is it possible to add an option to support this? Thanks.
The text was updated successfully, but these errors were encountered: