Re: Hashes from composite keys?
Date: Fri, 23 Jul 2010 14:40:17 -0700 (PDT)
On Jul 23, 11:10 pm, Bob Badour <bbad..._at_pei.sympatico.ca> wrote:
> Karsten Wutzke wrote:
> > On 23 Jul., 22:22, Bob Badour <bbad..._at_pei.sympatico.ca> wrote:
> >>Karsten Wutzke wrote:
> >>>what are the best practices for generating hash codes from composite
> >>>keys? I need to mimic something like what a composite index does. In
> >>>fact, it's for mapping between relational keys and object IDs.
> >>>Can anyone point me into the right direction please?
> >>Yes, I can point you in the right direction. Simply turn completely
> >>around from what you are trying to do, and go in the opposite direction.
> > One of the most useless comments on the Usenet I've read in my whole
> > life. Congratulations. You must have a lot of time for writing such a
> > crap. If you think you are cool, you're not.
> Cool? No. Educated and well-informed. The cool kids drop out of
> highschool to shovel asphalt for paving companies. Being educated and
> informed is pretty much the antithesis of cool.
You sounded cool. Well, I'm educated, too, but not well-informed on that particular topic. Sorry for asking. I bet you've never asked anybody in your life to become well-informed...
> > Anyone else with a useful tip? XORing the individual elements?
> I question your ability to recognize a useful tip. No doubt one or more
> of the cranks or trolls from my twit filter will pipe up to offer
> something more closely matching your expectations. It will have negative
> utility, but I expect you will feel gratitude for it regardless of the harm.
Karsten Received on Fri Jul 23 2010 - 16:40:17 CDT