Next Prev Up Top Contents Index

with-heavy-allocation

Macro
Summary

Slows up garbage collection during the execution of code that allocates a lot of space.

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

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

See also
avoid-gc
gc-if-needed
get-gc-parameters
mark-and-sweep
normal-gc
set-gc-parameters
without-interrupts

LispWorks Reference Manual - 13 Jun 2003

Next Prev Up Top Contents Index