David Duponchel
David Duponchel
sync vs async: I tried (see the comment of 0ceb14c) but eventually removed the sync methods because it became increasingly hard to make everything work with async input and async...
Sorry for the lack of updates on this issue. JSZip v3 isn't async "just" to avoid the alert "the script it running forever" (even if it was a big part...
Good news, I can reproduce it ! Bad news, I don't know how to fix it (yet). I think this comes from the insane amount of memory used to read...
You can find it on my branch WIP_perfs here : https://github.com/dduponchel/jszip/tree/WIP_perfs (I just pushed my latest commits). The API is almost the same, the biggest change is the removal of...
I'm glad to see I'm not the only one struggling with optimization and big files :) Your work seems promising, I'll definitely look into it !
@kwroblewski That's an interesting idea but might require too much work : JSZip has a synchronous API and the library handling the DEFLATE algorithm doesn't support that. To create asynchronous...
Yes, this commit will help (just released as v2.2.1). It won't completely fix this bug but I'm working on it, see #121.
What is your code and what browser do you use ?
The project you linked uses a pre-1.0 version (at commit 14597289220eeed7482997a3a1d7161fca834498) from 2012. You should ask this project to update the JSZip dependency. While not a miracle recipe, you should...
I think you should open an issue on apex-zip, it will be better suited for this discussion (I will help you there).