Dir scan

R

Roedy Green

I have not done benchmarks to prove this, but it seems to me when Java
scans the directory tree of a drive it takes MUCH longer than when a
native windows app does it. I wondered if anyone has investigated
this, and if they know what Java is doing that adds so much overhead.
--
Roedy Green Canadian Mind Products
http://mindprod.com

"Here is a point of no return after which warming becomes unstoppable
and we are probably going to sail right through it.
It is the point at which anthropogenic (human-caused) warming triggers
huge releases of carbon dioxide from warming oceans, or similar releases
of both carbon dioxide and methane from melting permafrost, or both.
Most climate scientists think that point lies not far beyond 2°C (4°F) C hotter."
~ Gwynne Dyer
 
A

Arne Vajhøj

Roedy said:
I have not done benchmarks to prove this, but it seems to me when Java
scans the directory tree of a drive it takes MUCH longer than when a
native windows app does it. I wondered if anyone has investigated
this, and if they know what Java is doing that adds so much overhead.

Check the source code.

Maybe Java does a JNI call per file. And that adds some overhead.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

New JDK out 1
Cookies 2
tracking logins 20

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,061
Latest member
KetonaraKeto

Latest Threads

Top