From: Thomas Hurst Date: 2002-04-15T06:58:44+09:00 Subject: Re: Reverse hash lookup? * Alex Liebowitz (stopm@attbi.com) wrote: > Is there any way to specify a value and hash, and get the key > corresponding to that value (in O(1) time, preferably)? Create a class that delegates to Hash for the most part, but for []= saves the value in another hash of value => key pairs? -- Thomas 'Freaky' Hurst - freaky@aagh.net - http://www.aagh.net/ - Let's just be friends and make no special effort to ever see each other again.