compactify(3G) — Silicon Graphics
NAME
compactify − compacts the memory storage of an object
SPECIFICATION
C
compactify(obj)
Object obj;
FORTRAN
subroutine compac(obj)
integer*4 obj
Pascal
procedure compactify(obj: Object);
DESCRIPTION
When you modify an open object using the object editing routines, its storage can become fragmented and inefficient. If there is too much wasted space, the system automatically calls compactify during the closeobj operation. compactify performs the compaction explicitly. Unless there is insertion to or deletion from an object, compaction is never necessary. Since compactify requires a significant amount of time, do not call it unless storage space is critical.
SEE ALSO
chunksize, closeobj Programming Guide, Section 8.3, Object Editing
NOTE
This routine available only in immediate mode.
Version 3.6 — December 20, 1987