scoring differences between bitmasks

From: Ben <bench(at)silentmedia(dot)com>
To: Postgresql-General mailing list <pgsql-general(at)postgresql(dot)org>
Subject: scoring differences between bitmasks
Date: 2005-10-02 02:12:13
Message-ID: 7695C0AE-5C69-48E3-B04A-722CEC62D978@silentmedia.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm looking for a quick way to find the number of bits that are
different between two bitmasks of the same size. I'll be doing this a
lot, so speed is desirable.... some kind of indexing would be even
better. It seems like this problem must have been solved before....

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Wes 2005-10-02 04:27:22 8.1 'make check' fails
Previous Message Jim C. Nasby 2005-10-01 15:32:33 Re: Exporting just schema/metadata (w/o data) in Postgres