2009/5/23 Adam Perry <[email protected]>: > On Fri, May 22, 2009 at 10:23 AM, <[email protected]> wrote: >> >> teeemcee >> 2009-05-22 10:23:56 -0700 (Fri, 22 May 2009) >> 256 >> Based on some profiling of Baconthulhu, tweak the freeing of loaded >> scripts. I'm not really sure if this is any improvement, though. More >> importantly, it turns out that Baconthulhu needs over 128 scripts loaded at >> once!, so expanded scripts() to 256 slots. >> --- > > Wait, the concurrent script limit was 128? No wonder my recursive scripts > always overflow. >
This was unrelated to the concurrent script limit. I modified the maximum number of scripts LOADED at once, not RUNNING at once. The script interpreter unloads running scripts and reloads them as required, to limit the amount of memory required. This may seem pointless when no game has more 2MB of scripts (SoJ), but the whole point was to be forward thinking for handheld ports. The limit on the number of concurrent RUNNING scripts is 128. _______________________________________________ Ohrrpgce mailing list [email protected] http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
