compactify() — 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
As an open object is modified by the various editing commands, it may be stored inefficiently in memory. When the amount of wasted space becomes too large, compactify is called automatically during the closeobj operation. compactify is available to the user to perform the compaction explicitly. Unless insertion of some sort is done, compaction is never necessary. Since it is somewhat expensive, it should not be called unless storage space is critical.
SEE ALSO
closeobj, chunksize
NOTE
This command can be used only in immediate mode.
Version 2.4 — May 08, 1986