> I have a project in mind to revamp the flag system of CircleMUD to allow
> *much* easier addition of extra flags. (You'll still have to convert the
> pfile though.) I have two different approaches in mind, one in bitfields,
> one with bitvectors, both seem the same in terms of complexity.
>
> Will be a really cool change....
Don't use bitfields. The syntax for their use is pretty much the only
thing about them that isn't implementation defined. They may use up more
space than a bitvector system (depending on alignment requirements and
such), and accessing them requires at least as many instructions as
bitvectors. They may be completely portable, but bitvectors are so much
better.
+------------------------------------------------------------+
| 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/08/00 PST