PSP-Archive / ARK-4

Custom Firmware for the PSP and PS Vita.
683 stars 42 forks source link

ARK Launcher - File Browser: Fasten directory loading times #171

Closed svensvond closed 1 year ago

svensvond commented 1 year ago

New Feature

Tweak loading times to browse directories with a larger amount of isos

When putting a larger amount of isos in a directory, loading of this directory takes quite some time. I think in some way files are processed (meta data?). Here are some examples:

Entering a directory of isos (270): 40 sec Entering a directory of (empty) files (270): 38 sec Entering a directory of (empty) directories (270): 5 sec

Since it should be just a listing of items regardless of its type, shouldnt it be equally fast?

JoseAaronLopezGarcia commented 1 year ago

I'll look into it.

svensvond commented 1 year ago

looks to me if its related to getFileSize() which is only executed for files. (unsigned BrowserFile::getFileSize(){ ?) I dont care about the file size on the psp itself actually, faster loading times would weight much more.

JoseAaronLopezGarcia commented 1 year ago

Closing as duplicate of https://github.com/PSP-Archive/ARK-4/issues/178