Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Bi-Directional Hash Lookup

by PerlingTheUK (Hermit)
on Oct 11, 2005 at 12:06 UTC ( [id://499129]=note: print w/replies, xml ) Need Help??


in reply to Re: Bi-Directional Hash Lookup
in thread Bi-Directional Hash Lookup

The problem about HoH is that I regularly update the content. In which case both hashes need updating. I do not like the idea of doing that for both especially as I access and manipulate the data at several locations. I think I will pick a Class structure giving me a getA and a getB method. This will at least make sure that data of a HoH is consistent as long as my setColumn method is fine.

Cheers,
PerlingTheUK

Replies are listed 'Best First'.
Re^3: Bi-Directional Hash Lookup
by pajout (Curate) on Oct 11, 2005 at 12:57 UTC
    If you tie Skeeve's hash, you will have the chance to do sync when one of them updated...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-25 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found