Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: File::Find seems grossly inefficient for performing simple file tasks

by BrowserUk (Pope)
on Apr 26, 2013 at 07:17 UTC ( #1030786=note: print w/ replies, xml ) Need Help??


in reply to File::Find seems grossly inefficient for performing simple file tasks

The two command lines are pretty much the same size. And it is only the command line that you are seeing of the shell code.

If you were to look at the source code of the find command, it runa to several hundred lines.

Try comparing like with like, and do not confused length of source with efficiency.

(It can be a factor, especially in Perl, but not in this case.)


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re: File::Find seems grossly inefficient for performing simple file tasks

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1030786]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2014-12-26 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (172 votes), past polls