gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Garbage collector


From: strk
Subject: Re: [Gnash-dev] Garbage collector
Date: Sat, 16 Jun 2007 09:36:45 +0200

On Fri, Jun 15, 2007 at 04:43:12PM -0600, Eric Hughes wrote:
> At 03:54 PM 6/15/2007, strk wrote:
> >Our l-values are just strings, and r-values are as_values (possibly 
> >objects, in
> >which case they are ref-counted).
> 
> That's not quite right, is it?  Isn't an l-value the combination of a 
> string and some corresponding entry in a PropertyList?  (I just peeked at 
> as_object.h.)

In case a property with that name already exists, yes.

> It seems that fundamental is changing the codomain parameter for map (i.e. 
> the return type of map.find) to a reference type that could hold both 
> strong and weak references.  Certainly there's lots of other work after 
> that, but does that sound right?

No idea, sorry. Currently that's a Property class, so we may change however 
we like, with no much hassle. Anyway, unfortunately NOT all properties
are *proper* properties (instances of a Property class).
See __proto__ for instance, being hardcoded in as_object::get_member_default.

--strk;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]