Chuck Esterbrook wrote:
> Obj refs in MK are 64 bit values where the first 32 are a 
> class id and 
> the last 32 are an object id. These are pretty much necessary for 
> general object references (you need the class id to know what 
> table to 
> fetch the object from).
> 
> I plan on allowing some kind of "simple reference" type or 
> option that 
> would allow for only storing the object id, in those cases where you 
> know there is only one class.

On a related note, how about splitting the 64-bit ID into 2 32-bit fields --
an object ID and a class ID?

That would make debugging easier, since by looking in the db you could see
the "real" values for the object ID and class ID without having to split the
64-bit number apart.  It would also make it possible to use SQL joins
between MK tables outside of MK (although you'd have to take the class ID
into account with a WHERE clause).

- Geoff

_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to