Stream results to GUI async / Speed up working with folders which have many files
I have not looked into the code yet, but it seems to load all filenames from a directory and then shows them all, once every single one was found.
I opened a folder with many files and the GUI was stuck for a few seconds before I could continue.
When searching with the windows explorer it streams in found results, as in as soon as a result was found it is shown and once the next result is found, the view is updated to show both found files.
When working with folders which have many files this would allow the user to get into that directory immediately, see the first files/folders and the only thing the user might notice is that the scrollbar gets bigger as more files or subfolders are found, but he can already see and work with the first files/folders in there.
Updating the view for each file might become a performance issue, but updating at least every X milliseconds using a throttle library would solve that.
refs #17
There won't be any issues with updating the view if you use a virtualisation library. A throttle library will not help, I think. Well, not only is what I said an assumption, but it is also a fact, because that's what I have implemented in my project that is also an explorer.