develooper Front page | perl.perl6.internals | Postings from February 2001

Re: PDD 2, vtables

Thread Previous | Thread Next
Alan Burlison
February 18, 2001 16:45
Re: PDD 2, vtables
Message ID:
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?

Alan Burlison

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About