Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Hash entries starting with a given string.

by TedPride (Priest)
on Jul 28, 2008 at 05:17 UTC ( #700460=note: print w/ replies, xml ) Need Help??


in reply to Hash entries starting with a given string.

Why are you doing this? You can theoretically create a sorted list in n lg n time, or create additional hashes for every searchable substring length, but with 2^40 entries - or even a fraction of that - you won't have enough memory to hold the original hash, never mind any additional data structures.


Comment on Re: Hash entries starting with a given string.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-07-25 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (169 votes), past polls