Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: I need speed

by twerq (Deacon)
on Jun 21, 2002 at 17:51 UTC ( [id://176336]=note: print w/replies, xml ) Need Help??


in reply to I need speed

Using DB_File would definately be faster for index lookups, provided you used the btree interface.

By using the filename as the key, and the path as the value, you can quickly search for the location of your file.

One problem you may run into, though -- is that many files (under different paths) share identical names. See the section "Handling Duplicate Keys" in man DB_File.

--twerq

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-03-29 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found