How to stop a long branch view from getting "rescanned"?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
admin
Site Admin
Posts: 65017
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to stop a long branch view from getting "rescanned"?

Post by admin »

Yes, the Everything results list is like a cached search from XY's POV. All file metadata has to be retrieved one by one. Whereas in a file system scan the metadata comes very fast in big chunks.

Theoretically, of course, XY could cache ALL metadata. It would be a bit memory hungry if you have many tabs, and it would get stale over time, but it would be insanely fast.

autocart
Posts: 1356
Joined: 26 Sep 2013 15:22

Re: How to stop a long branch view from getting "rescanned"?

Post by autocart »

I now came up with the following user button as a work-around for a Branch View with lots of files:

Code: Select all

Snip: CTB 1
  XYplorer 26.20.0101, 05.07.2024 12:25:15
Action
  NewUserButton
Name
  Banch View in new window
Icon
  :flatview*#7FDBFF,r
ScriptL
  #182;
    run """<xy>"" /readonly /new /script=""::tab('closeothers');#311;""", , 0, 0;
ScriptR
  
ScriptM
  
FireClick
  0
How to use:
  1. Copy the code.
  2. Make new user button.
  3. In the Edit User Button dialog right-click on the "Clear" button.
  4. Choose "Paste Snippet".
  5. Click "OK".
  6. Click on the new user button.

The new button does the following:
  1. It saves the current settings
  2. It opens a new XY read-only instance (with the current settings)
  3. It closes all other tabs (besides the current one) in that new instance
  4. It starts a Branch View in that new instance

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

Re: How to stop a long branch view from getting "rescanned"?

Post by bossi »

autocart wrote: 05 Jul 2024 12:35
run """<xy>"" /readonly /new /script=""::tab('closeothers');#311;""", , 0, 0;
thx , comes in handy for 100k branched views :party:

i supose there is currently no way of writing a proper session name into the title bar ?

admin
Site Admin
Posts: 65017
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: How to stop a long branch view from getting "rescanned"?

Post by admin »

What's a proper session name?

autocart
Posts: 1356
Joined: 26 Sep 2013 15:22

Re: How to stop a long branch view from getting "rescanned"?

Post by autocart »

bossi wrote: 15 Oct 2025 23:43 i supose there is currently no way of writing a proper session name into the title bar ?
If you use Session Manager viewtopic.php?t=8691 then you can choose your own session title and have it also displayed in the title bar.

Post Reply