martinmimigames / little-file-explorer

Android 1.0+ mini file explorer and manager
https://martinmimigames.github.io/projects/little-file-explorer/
GNU General Public License v3.0
319 stars 13 forks source link

App slow to open directory with many 1000's of files after upgrade #64

Open Logicdemon opened 1 year ago

Logicdemon commented 1 year ago

Describe the bug Listing files seems much slower in latest version taking much longer to open a directory compared to older versions of app.

To Reproduce Steps to reproduce the behaviour: Open a folder on SD CARD containing say 5,000 files

Expected Behaviour List 1000's of files within a directory within a second or two.

[Optional] Versioning information Samsung note 4 SM-N910C 6.0.1 Marshmallow 128 Mb SD Card

[Optional] Additional information My oh external 128 Mb SD CARD I have a about 8 folders containing only music in the form of very small .mod, xm or.s3m files. Average sizes range can be from say 10 to 100Kb a file. Each folder contains around 5,000 to 10,000 files. In the past Little File Explorer has been excellent speed wise when browsing through these folders only taking a second or so to list and display files in a folder. At some point since at least the last upgrade of the app via F-droid, it has become noticeable slower, feeling like at least triple the load times now.

Could this be related to looking up 'icons' for file extensions? Or perhaps reading some other aspect of files? Could there be a way to have the app just simple list file names without any further analysis similar the "ls" command in Linux. I use this app specifically because many other file managers seem very very slow when dealing with 1,000+ files, but this has been very fast, at least until recently.

Thank you by the way for making such a small simple app. It is impressive to see something that can function on Android 1.0+ and at such a small compact install. Very nice