compactify(3G)compactify(3G)NAMEcompactify - compacts the memory storage of an object
C SPECIFICATION
void compactify(obj)
Object obj;
PARAMETERS
obj expects the object identifier for the object you want to compact.
DESCRIPTION
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.
SEE ALSO
closeobj, chunksize
NOTE
This routine is available only in immediate mode.
Page 1