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' James ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel