[Scummvm-devel] Memory/speed loss in scumm engine

Neil Millstone neil at millstone.demon.co.uk
Wed Apr 2 00:40:39 CEST 2008




Alan Bedel wrote:
> On Tue, 11 Mar 2008 22:51:50 +0000 Neil Millstone 
> <neil at millstone.demon.co.uk> wrote:
>> > No, debugging tools on the DS are pretty non-existent.  The only
>> > thing I can think of is to roll back the repository until it goes
>> > away, but that sounds like a dull and long-winded process.  And I
>> > don't have a lot of time right now, either.  The usual story.
>>     
>
> Do a binary search instead, it will be a lot faster than checking each
> version.
>
> 	Albeu
>   

I did some messing around to try and find the problem a few weeks ago.  
I binary chopped the dates, and I found that the binary size grows 
massively somewhere between the 9th and 13th January.   I'm going to do 
some more chopping to try and track down the change which caused it, but 
it's not anything immediately obvious.

17th March 2008  20:24  2460736
17th February 2008 20:24  2461760
17th January 2008 20:24 2434624
13th January 2008 20:24 2434624
9th January 2008 20:24 1591872
1st January 2008 20:24 1590848
17th December 2007 20:24 1556032

Again, if this rings a bell for anyone, please let me know, because 
it'll save me a lot of time!

Thanks,

- Neil








More information about the Scummvm-devel mailing list