On Tue, Apr 17, 2001 at 01:21:55PM -0400, Bill Stoddard wrote:
> >
> > > However, please note that we can/should simply toss the darned bit fields
> > > from conn_rec, and certainly this one.
> >
> > I seriously disagree with this.  bit fields are incredibly useful, and we
> > should take advantage of them, not dump them.
> >
> 
> FWIW, I am not a fan of bit fields.  They are slower to check and all you get back 
>is a bit of space
> savings....maybe (if you cram multiple bit fields into an int).

Exactly.

Even worse was the case where I said to toss the bitfield:

  int whatever:1;
  int something_else;

That bitfield isn't very useful :-)

[ but rather moot since the "whatever" isn't even needed; it becomes a local
  variable ]

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

Reply via email to