jsZIP is slow
- Dominant language
- TypeScript
- Stars
- 80
- Forks
- 34
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
The .nmrium file is compressed by default using ZIP (first bytes are PK)
This allows to win a lot of space, from 53.8 Mb to 21.3 Mb.
However this is also a super slow process ... Without compression it would take 2s and with compression it takes 20s !

We could try to compress the data using pako.gzip (anyway there is only one file so it could be as well gzip and not zipped).
Chrome also has a native API for compression: https://developer.mozilla.org/en-US/docs/Web/API/Compression_Streams_API and this could be tested as well.
@targos WDYT ?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.