QuickLook.Plugin.FolderViewer icon indicating copy to clipboard operation
QuickLook.Plugin.FolderViewer copied to clipboard

when >= FILES_MAX, do not use this Plugin, will cost too much time.

Open uvery9 opened this issue 3 years ago • 7 comments

when >= FILES_MAX, do not use this Plugin, will cost too much time.

uvery9 avatar Aug 08 '21 02:08 uvery9

Hey @JaredDC thanks for the PR!

Had a question here. How did you choose the value for FILES_MAX? I created a folder with 500 files and it barely took a second to show all of them. I'm just thinking that with git repos and all having lots of tiny files, 300 might get exceeded rather too quickly. Running the plugin on my Program Files, it took around 2 seconds for 100,000+ files. image

adyanth avatar Aug 08 '21 07:08 adyanth

Hey @JaredDC thanks for the PR!

Had a question here. How did you choose the value for FILES_MAX? I created a folder with 500 files and it barely took a second to show all of them. I'm just thinking that with git repos and all having lots of tiny files, 300 might get exceeded rather too quickly. Running the plugin on my Program Files, it took around 2 seconds for 100,000+ files. image

This is my point of view. When there are too many files, it is not appropriate to display in the form of a directory, or use a depth form like 'tree -L 3' command in Linux to show less files. tree command 300 may be a more appropriate value.

uvery9 avatar Aug 09 '21 01:08 uvery9

Oh, do you mean more than 300 files in the same directory?

If that is the case, correct, it is not really appropriate. But, it is not appropriate for that subfolder if it was inside. Do we not want to show the parent folder too in that case?

I will try once with your patch when I have time to see the behaviour and will let you know.

adyanth avatar Aug 09 '21 04:08 adyanth

fix pack-zip.ps1 error by <PostBuildEvent>cd "$(SolutionDir)Scripts" powershell -file "$(SolutionDir)Scripts\pack-zip.ps1"</PostBuildEvent>

uvery9 avatar Aug 09 '21 06:08 uvery9

Here is an example, there are no folders with more than 300 files here. I would really like to be able to open the folder to go to the bin folder and open the executable directly. Seems too limiting. If it was a limit of 300 files only in that folder, I would see that making sense. But then, it would need to have lazy loading as and when sub folders are expanded to have any advantage.

image

If you would like to use it, here is the link to the build. Let me know if it suits you. At this point, I do not feel it is a useful limitation to impose. Let me know if you have other thoughts on this.

adyanth avatar Aug 14 '21 06:08 adyanth

When there are dozens(may be just 30) of video files in the folder, this plugin will be really slow

uvery9 avatar Aug 16 '21 01:08 uvery9

Okay, just verified that now, it is true. Looks like the thumbnail generation takes time for video files. @mooflu thoughts on this issue?

adyanth avatar Aug 16 '21 05:08 adyanth