Re: Drop foster-parented stuff on the floor if parent gone

On Dec 25, 2008, at 13:03, Ian Hickson wrote:

> On Tue, 9 Dec 2008, Henri Sivonen wrote:
>>
>> Deferring tree mutations would become slightly simpler if
>> foster-parented stuff was simply dropped when the table parent is  
>> gone.
>
> I haven't made this change. It would make other implementation  
> strategies
> more complex, so there doesn't seem to be an overall clear  
> indication of
> what would be best.

What implementation strategy would be made more complex by not  
inserting stuff at all when the parent is gone?

> Even in the deferred mutation case, it seems like you
> could just use a "foster insert" action instead, which the main thread
> would handle accordingly.


This is possible, yes.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Friday, 2 January 2009 13:43:36 UTC