Re: [GENERAL] bit varying(512) vs bytea(64)

2005-03-22 Thread Michael Fuhr
On Mon, Mar 21, 2005 at 12:39:09PM -0800, TJ O'Donnell wrote: > I have N-bit data pairs. I want to write a c-language function > which compares bits set in each. N is typically 512, but could be other. > I can store this as bit varying(512) or bytea(64). I can't decide which. > Here are the que

[GENERAL] bit varying(512) vs bytea(64)

2005-03-21 Thread TJ O'Donnell
I have N-bit data pairs. I want to write a c-language function which compares bits set in each. N is typically 512, but could be other. I can store this as bit varying(512) or bytea(64). I can't decide which. Here are the questions that concern me. 1) will each take the same storage? 2) can I pa