>>>>>> thus on Fri, 7 Aug 1998 08:18:22 -0700, Edward wrote:
> Are there any plans to ever move from bitvectors to
> bitfields? A lot of people quickly hit that 32 bit
> limit, and the array of bit vectors seems like kind
> of kludgy solution (well-written though the code for
> it is!). And an AFF2_xxx bitvector seems like an even
> worse solution!
> Bitfields offer unlimited potential for expansion
> and are quite trivial to use and to add new bits.
And are often considered very unportable due to byte-padding.
Use the same scheme as file descriptor arrays for select.
FD_SET
FD_CLEAR
A nice little bit array holding (oh most of the SysV systems I've been
programming on) 1024 bits.
I'm pretty sure the 128 bitvector patch at the patch site has a similiar
system, though, so don't reinvent the wheel.
d.
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST