[Scummvm-devel] RE : Re: RE : Re: Memory/speed loss in scumm engine
Neil Millstone
neil at millstone.demon.co.uk
Thu Apr 3 00:31:58 CEST 2008
I did the following builds
NDS Size SVN Revision
2434624 30474
2434624 30473
1591872 30472
1591872 30470
1591872 30466
1591872 30459
1591872 30445
1591872 30417
1591872 30361
So, the problem must have been introduced in revision 30473. This is a
seemingly minor change to the build system. The build system on the DS
port is odd, having had some hacks to work around some bugs in Devkitpro
in the past, and my knowledge of makefiles is pretty poor. But looking
at the diff, I changed all occurances of the following:
.cpp.o:
to:
%.o:%.cpp
And all my problems went away! I really don't know why, but that seems
to have fixed both the big binary issue and the speed issues.
- Neil
Bertrand Augereau wrote:
> Oh ok, didn't get that it was a sure thing the bloat
> was in the common code.
> Maybe somebody could try to see if the bloat impacts
> another platform between these 2 revisions, it would
> make the variation easier to track.
> I can probably do it tonight (in 10/12 hours), if
> nobody does it before.
>
> PS : Well, I have memory problems at work also on
> some-PowerPC-based-nextgen-gaming-platforms so I'm
> getting used to it ;)
> Hope you do well with your project!
>
> Bertrand
> --- Neil Millstone <neil at millstone.demon.co.uk> a
> écrit :
>
>
>> Hi Bertrand,
>>
>> All the builds I described in my mail used the exact
>> same backends/ds
>> and fs/ds folder, it is the rest of the codebase I
>> updated, so the
>> problem definately lies in the main codebase and
>> doesn't have anything
>> to do with the backend, or at least the main
>> codebase triggers the
>> problem in the backend.
>>
>> Although yes, we really should submit a bug report
>> for that compiler
>> bug. I can probably find your mail where you
>> tracked it down,
>> somewhere. I tried thumb mode with the latest
>> Devkitpro and it still
>> has the same problems.
>>
>> The hard part is going to be narrowing down a simple
>> example of it.
>>
>> Anyway, I hope things are going well for you,
>>
>> - Neil
>>
>
>
>
> _____________________________________________________________________________
> Envoyez avec Yahoo! Mail. Plus de moyens pour rester en contact. http://mail.yahoo.fr
>
>
More information about the Scummvm-devel
mailing list