On 14/05/2010 3:51 PM, James Paige wrote:
I am on the verge of starting the new save format, and I am thinking
about how to store tags.
I could store them as a bunch of named integer tags that could be 0 or
1.
I could store them as a bunch of named tags which either exist or don't
exist.
I could store them as a bunch of 16 bit ints, exactly like their
internal representation in-memory in the tag() array.
I could nicely ask Mike to implement a bitset data type ;)
(or I could do it myself, I guess)
Hmm. I think the pragmatic approach would be the named tags. (<tag1/>,
<tag2/>, etc).
However, I can see how having thousands of unique tags may be a problem :)
Give me an hour or two, and I'll start working on this...
---
James
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
--
Mike
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org