[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Re: FSpIterateDirectory



Vicki Brown <vlb@cfcl.com> penned:

>Could someone who knows the differences, please compare and contrast
>Mac::MoreFiles:: FSpIterateDirectory with File::Find.
>
>What do I get from the one that I don't get from the other?

The Mac toolbox calls give you more speed, I think. On my 630, they can
munge names of, and move, a few hundred files in seconds. Any other code
that processes files will still have to call the toolbox eventually, which
means it should be just that much slower. OTOH, if you have a PPC Mac, Find
might be fast enough for whatever you're doing. Another advantage to using
the Find module might be that your script is more likely to be portable
across platforms.



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch