Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #26151
| From | Arved Sandstrom <asandstrom3minus1@eastlink.ca> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: deleting files |
| References | <kc46k65u61goegok3j9heoc5t5juh78k13@4ax.com> |
| Message-ID | <e4H0p.22366$3K.2330@newsfe12.iad> (permalink) |
| Organization | Public Usenet Newsgroup Access |
| Date | 2011-01-28 18:05 -0400 |
On 11-01-28 03:00 PM, Roedy Green wrote: > 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? What this really comes down to is (as others have suggested), what's your definition of a "junk" file? It obviously differs from the common approaches used by industrial junk file removal programs, because I doubt any of those are going to be using too much (if any) of a "String[] list(FilenameFilter filter)" mechanism...in whatever language they are written in. AHS -- So I listened to that Sputnik moment talk over and over again, and I think, No, we don't need one of those. You know what we need is a "spudnut" moment. -- Sarah Palin, commenting on SOTU address
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
deleting files Roedy Green <see_website@mindprod.com.invalid> - 2011-01-28 11:00 -0800 Re: deleting files Joshua Cranmer <Pidgeot18@verizon.invalid> - 2011-01-28 16:53 -0500 Re: deleting files Lew <lew@lewscanon.com> - 2011-01-28 11:49 -0800 Re: deleting files Roedy Green <see_website@mindprod.com.invalid> - 2011-01-29 13:53 -0800 Re: deleting files "Mike Schilling" <mscottschilling@hotmail.com> - 2011-01-28 20:20 -0800 Re: deleting files "Mike Schilling" <mscottschilling@hotmail.com> - 2011-01-28 20:17 -0800 Re: deleting files Roedy Green <see_website@mindprod.com.invalid> - 2011-01-29 14:02 -0800 Re: deleting files Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-01-28 18:05 -0400 Re: deleting files Roedy Green <see_website@mindprod.com.invalid> - 2011-01-29 13:58 -0800
csiph-web