Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #25616

Re: deleting files

Date 2011-01-28 20:34 +0100
From Luuk <Luuk@invalid.lan>
Newsgroups comp.lang.java.programmer
Subject Re: deleting files
References <kc46k65u61goegok3j9heoc5t5juh78k13@4ax.com>
Message-ID <laib18-l6o.ln1@luuk.invalid.lan> (permalink)

Show all headers | View raw


On 28-01-11 20:00, 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?

Whats the name of that utility, and how does you java-source look like

C is compiled code, and runs faster/more-optimized than Java which is
byte-compiled (as i remember correctly) to be platform independend, so
there a penalty at the last step....

-- 
Luuk

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

Re: deleting files Luuk <Luuk@invalid.lan> - 2011-01-28 20:34 +0100
  Re: deleting files Roedy Green <see_website@mindprod.com.invalid> - 2011-01-29 13:52 -0800
    Re: deleting files Arne Vajhøj <arne@vajhoej.dk> - 2011-01-29 17:13 -0500
  Re: deleting files Lew <lew@lewscanon.com> - 2011-01-28 11:49 -0800

csiph-web