with-heavy-allocation

Macro

Summary

Slows up garbage collection during the execution of code that allocates a lot of space, in 32-bit LispWorks.

Package

hcl

Signature

with-heavy-allocation &rest
body
=>
result

Arguments

body

The forms for which you want the garbage collector to behave differently from normal.

Values

result

The result of executing
body
.

Description

The macro
with-heavy-allocation
is for use with code that allocates a lot of space but is not interactive. It ensures that garbage collection (GC) is carried out less frequently while these forms are being executed. However, each GC may take longer.

Note:
with-heavy-allocation
is implemented only in 32-bit LispWorks. It is not relevant to the Memory Management API in 64-bit implementations.