On Thu, Jul 14, 2011 at 10:36 PM, James Turner <zakal...@mac.com> wrote:
>
> On 14 Jul 2011, at 12:46, thorsten.i.r...@jyu.fi wrote:
>
>> Nasal has a garbage collection problem. One solution to it is - we avoid
>> Nasal code wherever possible and try to hard-code everything. But Nasal
>> crops up on a lot of places - complex aircraft such as the Concorde come
>> to my mind, interactive AI models, lots of really nifty and useful
>> applications... - so instead of fixing things in a lot of places, one
>> could also think about it the other way and fix just one thing, i.e. the
>> garbage collection such that it doesn't hit a single frame.
>
> Indeed, and I've looked into this - it's a tough problem, but not an 
> impossible one - and well contained - the current Nasal GC is a single source 
> file. As you point out, the amount of scripted code is going to continue 
> increase irrespective of local weather, so we need to bite the bullet sooner 
> or later and fix the GC to be incremental.
>
> Fortunately, garbage collection is pretty well researched - the trick is 
> finding an incremental algorithm that's 'simple enough'

Note, Anders has created a patch that puts GC on its own thread a
while ago. Admittedly that's not incremental, but still nice.

-- 
Csaba/Jester

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to