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

Re: PDD 2, vtables

Thread Previous | Thread Next
From:
David Mitchell
Date:
February 7, 2001 11:05
Subject:
Re: PDD 2, vtables
Message ID:
200102071905.TAA10494@tiree.fdgroup.co.uk
Dan, before I followup your reply to my list of nits about the PDD,
can I clarify one thing: destruction.

I am assuming that many PMCs will require destruction, eg calling
destroy() on a string PMC will cause the memory used by the string
data to be freed or whatever. Only very simple PMCs (such as integers)
need to do no detruction.

Is this the same as your perception of reality :-) ?

I also gather that PMCs will have a flag saying whether they need destroying,
(eg ints say no, strings say yes), and that calls to destroy() are preceeded
by a check on this flag for efficiency?


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About