Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ compactif(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026