compactify(3G) compactify(3G)
compactify - compacts the memory storage of an object
void compactify(obj)
Object obj;
obj expects the object identifier for the object you want to compact.
When you modify an open object definition (using the object editing
routines), the memory storage for the object definition can become
fragmented. A call to compactify can make a fragmented object definition
occupy a continuous section of memory.
Although you can call compactify to explicitly compact an object, it is
rarely necessary because a call to closeobj automatically calls
compactify, when the object definition becomes too fragmented. (After
you edit an object, you must always call closeobj.)
Because compactify, requires a significant amount of time, do not call it
unless storage space is critical and you cannot tolerate even the small
amount of fragmentation allowed by closeobj.
closeobj, chunksize
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|