[comp.lang.clos] Object representation overhead

djk@cs.columbia.edu (David Kurlander) (11/18/90)

A quick experiment with Lucid 4.0's version of CLOS reveals that
simple-objects have an extra overhead of 20 bytes, while ordinary
structures have an overhead of 12.  What else tends to be stored in
objects aside from a pointer to a dispatch table?

(For that matter, why might structures have 12 bytes of overhead?  A 4
byte tag indicating structure + 4 byte tag indicating structure type
seems more than generous to me).

David


-- 
----------------------------------
David Kurlander				Department of Computer Science
djk@cs.columbia.edu			Columbia University