Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Lookup closest hash key

by Anonymous Monk
on Jan 25, 2011 at 14:55 UTC ( #884130=note: print w/replies, xml ) Need Help??


in reply to Lookup closest hash key

For a fixed and possibly large number of entries, a binary search might be theoretically fastest.   But, in these modern times, I would be hard pressed not to turn to trusty SQLite... a public domain(!) flat file SQL database of known very good performance.   All things considered, this is probably the best-all-around manageable strategy, with a rich choice of third-party tools available for maintaining the data.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2021-01-19 14:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?