Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ compactify(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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

While you modify an open object using the various editing routines, it can be stored inefficiently in memory.  When there is too much wasted space, the IRIS calls compactify automatically during the closeobj operation.  compactify performs the compaction explicitly.  Unless there is some sort of insertion, compaction is never necessary.  Since it lengthens the process, do not call compactify unless storage space is critical. 

SEE ALSO

closeobj, chunksize IRIS Graphics Programming, Section 8.3, Object Editing

NOTE

This routine available only in immediate mode. 

Version 2.5r1  —  October 29, 1986

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