R
Roedy Green
I wrote a program to tidy up my hard disk. I run it as administrator.
It tells me there are a fair number of junk files I cannot delete. I
have a utility, presumably written in C, that much more rapidly scans
my drive for junk and manages to wipe out much of the junk I could
not.
I curious if anyone has experimented and could tell me:
1. why in the C utility is so much faster than my utility. My code is
basically just a bunch of File.list() with filters. What Java doing to
dither?
2. What is the utility doing to let it kill more files?
--
Roedy Green Canadian Mind Products
http://mindprod.com
To err is human, but to really foul things up requires a computer.
~ Farmer's Almanac
It is breathtaking how a misplaced comma in a computer program can
shred megabytes of data in seconds.
It tells me there are a fair number of junk files I cannot delete. I
have a utility, presumably written in C, that much more rapidly scans
my drive for junk and manages to wipe out much of the junk I could
not.
I curious if anyone has experimented and could tell me:
1. why in the C utility is so much faster than my utility. My code is
basically just a bunch of File.list() with filters. What Java doing to
dither?
2. What is the utility doing to let it kill more files?
--
Roedy Green Canadian Mind Products
http://mindprod.com
To err is human, but to really foul things up requires a computer.
~ Farmer's Almanac
It is breathtaking how a misplaced comma in a computer program can
shred megabytes of data in seconds.