lpp-3ds icon indicating copy to clipboard operation
lpp-3ds copied to clipboard

Inefficiency with unzipping/writing a large number of small files.

Open gnmmarechal opened this issue 8 years ago • 5 comments

Essentially, my Corbenik CFW Updater has to unzip + write a ton of small files to the card. The unzipping takes a very, very long time, especially on the o3DS (I haven't tried it on the n3DS, but it could be faster since I set it to 804MHz).

gnmmarechal avatar Jun 21 '16 19:06 gnmmarechal

That's mainly caused by 3DS being realy slow in I/O process. I can try to add a cache system to zlib but it will take a lot of time to do so and it will make faster only large files extraction probably, not little files.

Rinnegatamante avatar Jun 23 '16 11:06 Rinnegatamante

I see. That's too bad.

gnmmarechal avatar Jun 23 '16 15:06 gnmmarechal

Just got an idea to increase extraction speed right now. Should probably solve this problem (it will be applied anly to extractZIP anyway, not extractFromZIP). When i've time, i'll start working on this and when finished i'll push another comment here.

Rinnegatamante avatar Jul 17 '16 14:07 Rinnegatamante

ok, I'll try it out when it is done :) any speed improvement will greatly help Corbenik/Skeith Updater.

gnmmarechal avatar Jul 17 '16 16:07 gnmmarechal

https://github.com/Rinnegatamante/lpp-3ds/commit/fa2ec6c9dd9502a03632c5189b5a0e21930cdf40 this partially improve the situation (especially for zip files with big files inside).

Rinnegatamante avatar Jul 24 '16 09:07 Rinnegatamante