At 12:45 AM 2/19/2001 +0000, Alan Burlison wrote:
>Dan Sugalski wrote:
>
> > >If PMC is a pointer to a structure, "new" will need to allocate memory 
> for a
> > >new structure, and hence the value of mypmc will have to change.
> >
> > Nope. PMC structures will be parcelled out from arenas and not malloc'd,
> > and they won't be freed and re-malloced much. If we're passing in a PMC
> > pointer, we won't be reallocating the memory pointed to--rather we'll be
> > reusing it.
>
>So how do you get hold of a PMC from the arena in the first place?

Grab one via a utility function. getPMC() or something of the sort.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to