clearing entire memory

Kevin R. Minor kminor at ms.uky.edu
Thu Nov 30 15:06:32 AEST 1989


Hello.

I am doing a term paper, and I've run into an interesting question.

I am }iattempting to implement an AVL tree.  I have the insertion
and deletion routines.  I'm using pointers to access the nodes of
the tree.

Here's my question.  Is there a way to free up the entire memory
without having to deallocate each node?  If I can free the entire tree
structure in one step, it will dramatically save in run-time.  Either way,
I'd like to know for my paper.

Thanks in advance.

Kevin (kminor at ms.uky.edu)

-- 
Not much going on around here.



More information about the Comp.lang.c mailing list