pool
Pools

Next:POOL:


Vocabulary
memory.pools

Class description
A pool contains a fixed-size set of preallocated tuple objects. Once the pool has been allocated, its objects can be allocated with pool-new and freed with pool-free in constant time. A pool can also be associated with its class with the POOL: syntax or the set-class-pool word, after which the words new-from-pool and free-to-pool can be used with the class name to allocate and free objects.

See also
<pool>, pool-new, pool-free, pool-size

Definition