Performance Issue

Azi Hassan via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Sep 6 03:58:25 PDT 2017


On Wednesday, 6 September 2017 at 08:10:35 UTC, Vino.B wrote:
> in the next line of the code i say to list only folders that 
> are greater than 10 Mb but this now is listing all folder 
> (folder whose size is less than 10 MB are getting listed, not 
> sure why.

Is the size in GB ? If so, then subdirTotalGB = 
(subdirTotal/1024/1024); needs to become subdirTotalGB = 
(subdirTotal/1024/1024/1024); for it to take effect. But do 
correct me if I'm wrong, I still haven't had my morning coffee.


More information about the Digitalmars-d-learn mailing list