Page 1 of 1
Calculate the size of folders in the background.
Posted: 18 Aug 2020 16:36
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.
Re: Calculate the size of folders in the background.
Posted: 19 Aug 2020 04:18
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.
Re: Calculate the size of folders in the background.
Posted: 19 Aug 2020 13:49
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.
Re: Calculate the size of folders in the background.
Posted: 26 Aug 2020 17:53
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...
Re: Calculate the size of folders in the background.
Posted: 26 Aug 2020 22:41
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.
Re: Calculate the size of folders in the background.
Posted: 27 Aug 2020 12:48
by admin
Custom columns would be infinitely harder. Don't wait for it.

Re: Calculate the size of folders in the background.
Posted: 01 Sep 2020 22:19
by eil
admin wrote: ↑26 Aug 2020 17:53Remind me after v21.00 is published...
as i'm interested in this feature too, reminding.

Re: Calculate the size of folders in the background.
Posted: 01 Sep 2020 22:22
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.
LOL! 5 minutes after publication.

Gimme a break!
Re: Calculate the size of folders in the background.
Posted: 16 Sep 2020 21:40
by eil
bump again.

Re: Calculate the size of folders in the background.
Posted: 17 Sep 2020 12:16
by admin
I made a note.

Re: Calculate the size of folders in the background.
Posted: 17 Sep 2020 20:05
by eil
thanks, will wait for its time.