I have some folders with a bunch of symbolic links in them, this is the structure of some of them (they all contain mostly video files with very very few other types of files, like max 100):
Hard drive X:
Folder A <- Contains 30000 items of which 29000 are actual files and 1000 are symlinks.
Hard drive Y:
Folder B <- Contains 60000 items of which 15000 are files and 35000 are symlinks.
Hard drive Z:
Folder C <- Contains 40000 items of which 11000 are files and 29000 are symlinks.
I have measured with a cron the time:
- When I open the folder A it loads very quickly, roughly it takes 1 to 3 seconds to load the fie list.
- When I open folder B it loads very slow, it took 19.16 seconds to load the list.
- When I open folder C it also loads very slow, it took 13.63 seconds to load the list.
What I have noticed is that if I apply the filter: !attr:junction BEFORE opening the folders B and C then they load as fast as the folder A.
Anyone else has experienced this? Does this happens because of the amount of items (60K and 40K) or the fact that most of them are symlinks has something to do with it?
I've tried inverting the filter (attr:junction) but I get kinda the same results as if I weren't filtering anything:
- Folder B took 18.18 seconds to load.
- Folder C took 12.74 seconds to load the list.
Why does it takes so long for symlinks to be listed?
EDIT: I was forgetting about something else. After applying the visual filter to ignore symlinks, if I open a new tab XYplorer first disables the visual filter on the current tab so I have to wait till all the items load and then opens a new tab, this doesn't happen if I just switch tabs instead of opening a new one.
Thanks.