CMU Artificial Intelligence Repository
Home INFO Search FAQs Repository Root

Resources: Implementation of resources (weak pools) for Scheme.

lang/scheme/code/ext/resource/
This is an implementation of resources for Scheme. Rather than rely on the garbage collector, it provides pools of objects which can be reused. When you need an object, it allocates one from the pool, creating a new object if necessary. When an object is no longer needed, it gets returned to the pool. This can help avoid thrashing if the objects are only needed for brief periods of time.
CD-ROM: Prime Time Freeware for AI, Issue 1-1 Keywords: Pools, Resources, Scheme!Code, Scheme!Extensions References: ?
Last Web update on Mon Feb 13 10:36:04 1995
AI.Repository@cs.cmu.edu