Rinnegatamante / lpp-3ds

Lua Player Plus for 3DS
GNU General Public License v3.0
179 stars 32 forks source link

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

Open gnmmarechal opened 8 years ago

gnmmarechal commented 8 years ago

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).

Rinnegatamante commented 8 years ago

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.

gnmmarechal commented 8 years ago

I see. That's too bad.

Rinnegatamante commented 8 years ago

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.

gnmmarechal commented 8 years ago

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

Rinnegatamante commented 8 years ago

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