Re: RBB: Realy Big Bitvectors

From: Jaco van Iterson (J.C.vanIterson@ET.TUDelft.NL)
Date: 12/13/95


Your message is a bit confusing, at first you disagree but at the end you
agree that only 1 of 255 flags in a byte could be set. I guess you saw the
light somewehere in the middle of writing your message  :)

BTW.
- numbering from 0 to 255 gives 256 flags, 1 to many.

Jaco


On Tue, 12 Dec 1995, Tel Janin Aellinsar wrote:

> On Sat, 9 Dec 1995, Jaco van Iterson wrote:
> 
> > 
> > 
> > There is NO way you can have more than 8 flags in a byte
> > without making restrictions about the number of flags
> > that can be set at any one time!
> > 
> > I could pack 255 flags in to a byte but then only 1 of
> > the 255 flags could be set.
> > 
> 
> No, 8 could be set.  I'm assuming your 255 flags are numbered zero 
> through 255, hence there are eight that could be on simultaneously;  1, 
> 2, 4, 8, 16, 32, 64, and 128.  But I see what you mean, and you're right.
> 
> > If we are talking about general systems for storing flags
> > then any combination of flags being set or unset should be
> > allowed. 8 flags per byte is the maximum then.
> > 
> > Jaco
> > 
> > 
> 
> ___________________________________________________________________________
> icarus@Crocker.COM                           http://www.crocker.com/~icarus
> Berserker Dragon -=={UDIC}==-              Ultima Dragons, Internet Chapter
> Lord Eric P. McCoy IV                                 Knights of the Cosmos
> ***************************************************************************
> 
> 



This archive was generated by hypermail 2b30 : 12/07/00 PST