Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #25576
| Path | csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Date | Fri, 28 Jan 2011 21:57:00 +0100 |
| From | Luuk <Luuk@invalid.lan> |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 6.1; en_US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: deleting files |
| References | <kc46k65u61goegok3j9heoc5t5juh78k13@4ax.com> <laib18-l6o.ln1@luuk.invalid.lan> <4d432037$0$23756$14726298@news.sunsite.dk> |
| In-Reply-To | <4d432037$0$23756$14726298@news.sunsite.dk> |
| X-Enigmail-Version | 1.1.1 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 8bit |
| Message-ID | <p5nb18-uip.ln1@luuk.invalid.lan> (permalink) |
| Lines | 43 |
| NNTP-Posting-Host | 80.101.116.74 |
| X-Trace | 1296248218 news.xs4all.nl 32470 [::ffff:80.101.116.74]:39809 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.java.programmer:25576 |
Show key headers only | View raw
On 28-01-11 20:59, Arne Vajhøj wrote: > On 28-01-2011 14:34, Luuk wrote: >> 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.... > > The Java byte code gets JIT compiled to native code, so that > should not be a problem. > > But this program should not be CPU bound anyway, so it does not > matter. > > Arne > Yes, i got the terms mixed up..... But, like Lew sad, things in C get optimized quicker wit plaform-specific calls.. Back to the original question, 'junk files' should only reside in temporary folders, so you would not have to search them.. ;) -- Luuk
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar
Re: deleting files Luuk <Luuk@invalid.lan> - 2011-01-28 21:57 +0100
Re: deleting files Lew <noone@lewscanon.com> - 2011-01-28 22:47 -0500
Re: deleting files Luuk <Luuk@invalid.lan> - 2011-01-29 11:26 +0100
Re: deleting files "Mike Schilling" <mscottschilling@hotmail.com> - 2011-01-28 20:19 -0800
Re: deleting files Roedy Green <see_website@mindprod.com.invalid> - 2011-01-29 13:53 -0800
csiph-web