Erik Lechak: # mark sparshatt wrote: # I am also trying to document the various structs and their # interactions. # Buffer
Unfortunately, I'm not a GC person, so this is the only one I recognize. A Buffer is essentially a handle on a chunk of memory; it stores a pointer to the memory, the size of the allocation, some flags, etc. When garbage collection is run, the GC finds all the buffers attached to the root set (registers, stacks, and symbol tables) or attached to something attached to the root set, recursively. Any buffers not attached to the root set are destroyed and their memory is freed for later use. A Buffer is the (spiritual) superclass of a String, and will soon be the superclass of a PMC as well. --Brent Dax <[EMAIL PROTECTED]> @roles=map {"Parrot $_"} qw(embedding regexen Configure) Wire telegraph is a kind of a very, very long cat. You pull his tail in New York and his head is meowing in Los Angeles. And radio operates exactly the same way. The only difference is that there is no cat. --Albert Einstein (explaining radio)