[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: interesting links



> If you have 300 foo objects you have 1full copy with all of the
> functions and 299 data only copies.  Of I recall correctly.

Not quite.

If you have 300 foo objects, you have one "virtual table" that has all
the pointers-to-methods, and 300 foo structures, each with a pointer
to the virtual table plus the object-specific data.

The pointer to the virtual table is, in effect, the object's "type".


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user