Calculate the size of folders in the background.

Features wanted...
Post Reply
luciano_f
Posts: 9
Joined: 16 Aug 2020 14:01

Calculate the size of folders in the background.

Post by luciano_f »

I have some folders with several sub-folders with several files inside and when I enter these folders I realize that everything is stuck because XYplorer takes a long time to be able to calculate the size of the folders, if I deselect it to not calculate the size of the folder there quick, this way i believe it would be interesting to calculate the folders run on a separate Thread not to crash XYplorer.

Thankful.

RalphM
Posts: 1935
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Calculate the size of folders in the background.

Post by RalphM »

As XY is programmed in VB6 I believe multi-threading is not that easily achievable.
XYCopy was born out of the need to have file operations run parallel but I don't think the way is to create a helper program for everything.
You can cache folder sizes to make such folder changes faster, at the cost of ultimate accuracy though.
Search the forum or the help file for more info on this.
Ralph :)
(OS: W11 22H2 Home x64 - XY: Current beta - Office 2019 32-bit - Display: 1920x1080 @ 125%)

luciano_f
Posts: 9
Joined: 16 Aug 2020 14:01

Re: Calculate the size of folders in the background.

Post by luciano_f »

I think that being written in VB6 is not a limitation, as I see that it would be possible to create auxiliary applications for various functions and make the workflow with XYplorer much faster.

An example today is Delphi and "Embarcadero" recently launched Delphi XE 10.4 which has its IDE made in 32 Bits but when we open Delphi it is possible to notice several instances of applications that work together with the main Executable called "Bds. exe "however when we press the combination" CTRL + Space "the code complementation is displayed that actually runs in a separate process from" Bds.exe "this is done so as not to crash the Delphi IDE.

I see that "XYplorer" could have several auxiliary applications in a separate process and that would make it much more fluid.

A Separate Process could be created to calculate the size of files and Folders and another process for Finding Files.

Here in Brazil there is a company called "SG Sistemas" that a great system for supermarkets that the system is made in Clipper they were adapting their system and today it is almost unbeatable in this branch of activity.

The XYplorer having several applications like exe or even DLL running in parallel would make it very showy.

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

Re: Calculate the size of folders in the background.

Post by admin »

Well, it gets more thinkable each day. I'm currently getting fitter in 64-bit C# coding and doing a background folder size calculation sounds like a nice exercise... Remind me after v21.00 is published...

kinook
Posts: 93
Joined: 22 Jul 2008 18:48
Contact:

Re: Calculate the size of folders in the background.

Post by kinook »

If you could do the same for custom columns (i.e., Special Property -> Version -- viewtopic.php?f=2&t=5029&p=133641#p133639), it might bring me back from Double Commander. Thanks.

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

Re: Calculate the size of folders in the background.

Post by admin »

Custom columns would be infinitely harder. Don't wait for it. :)

eil
Posts: 1622
Joined: 13 Jan 2011 19:44

Re: Calculate the size of folders in the background.

Post by eil »

admin wrote: 26 Aug 2020 17:53Remind me after v21.00 is published...
as i'm interested in this feature too, reminding. :roll:
Win 7 SP1 x64 100% 1366x768

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

Re: Calculate the size of folders in the background.

Post by admin »

eil wrote: 01 Sep 2020 22:19
admin wrote: 26 Aug 2020 17:53Remind me after v21.00 is published...
as i'm interested in this feature too, reminding. :roll:
LOL! 5 minutes after publication. :biggrin: Gimme a break!

eil
Posts: 1622
Joined: 13 Jan 2011 19:44

Re: Calculate the size of folders in the background.

Post by eil »

bump again. :whistle:
Win 7 SP1 x64 100% 1366x768

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

Re: Calculate the size of folders in the background.

Post by admin »

I made a note. :)

eil
Posts: 1622
Joined: 13 Jan 2011 19:44

Re: Calculate the size of folders in the background.

Post by eil »

thanks, will wait for its time.
Win 7 SP1 x64 100% 1366x768

Post Reply