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

Re: String comparison ops

Thread Previous | Thread Next
From:
Dan Sugalski
Date:
October 10, 2001 08:40
Subject:
Re: String comparison ops
Message ID:
5.1.0.14.2.20011010113659.023ae2b8@pop.sidhe.org
At 05:04 AM 10/10/2001 -0400, Michel Lambert wrote:
> > As we're using garbage collection we shouldn't need to do an explicit
> > free though surely - in fact I'm not quite sure why string_destroy
> > even exists...
>
>I'm not sure if the GC'ing will apply to strings, or just PMCs. I imagine
>PMC's will be able to contain strings, and could handle GC strings that way?

I'm not sure if it'll be just PMCs, but we will be collecting memory 
allocated to string contents. Strings may or may not need an anchoring PMC 
to survive a GC pass.

					Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk


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