in reply to plakshmi : Is Perl effecient for Directory level search?
Unless you do something silly, Perl will not be your bottleneck, but rather the operating system or file system. File::Find implements that kind of recursive traversal.
And a more efficient approach is to index the directory structure once, and then search the index instead of the directories. Of course that only works if the directories do not change too often.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: plakshmi : Is Perl effecient for Directory level search?
by plakshmi (Initiate) on May 08, 2012 at 14:33 UTC | |
by cdarke (Prior) on May 08, 2012 at 14:36 UTC | |
by Marshall (Canon) on May 09, 2012 at 17:10 UTC |