Tom Marchant's point is an important one.  Many 'free' operations
merely remove an element from a list by 1) changing a pointer to it to
point to its successor, 2) decrementing a count, and 3) placing it on
a to-be-freed or an available-for-reuse list or stack.

There are significant advantages to this approach.  It permits a
comparatively large block of storage to be obtained using STORAGE
OBTAIN | GETMAIN for 'private' management that suballocates storage
within that block.

John Gilmore, Ashland, MA 01721 - USA

Reply via email to