Front page | perl.perl6.internals |
Postings from February 2001
Re: PDD 2, vtables
From:
Dan Sugalski
Date:
February 18, 2001 16:47
Subject:
Re: PDD 2, vtables
Message ID:
5.0.2.1.0.20010218194622.02257d70@24.8.96.48
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
dan@sidhe.org have teddy bears and even
teddy bears get drunk
-
Re: require < 6.x
by Brent Dax
-
PDD 2, vtables
by Dan Sugalski
-
Re: PDD 2, vtables
by Branden
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by David Mitchell
-
Re: PDD 2, vtables
by Dan Sugalski
-
Re: PDD 2, vtables
by Simon Cozens
-
Re: PDD 2, vtables
by Dan Sugalski
-
Re: PDD 2, vtables
by Edwin Steiner
-
Re: PDD 2, vtables
by Dan Sugalski
-
Re: PDD 2, vtables
by Tim Bunce
-
Re: PDD 2, vtables
by Branden