[Scummvm-devel] 256KB reduced binary size vs. speed

Eugene Sandulenko sev at interhack.net
Fri Mar 26 12:40:09 CET 2004


Max Horn writes:
 > Hi folks,
 > 
 > I can cut down the size of our scummvm binaries by 256KB, at the cose 
 > of a potential small speed penalty on the HQ2x/HQ3x filters.

 > I am now wondering, should I optimize for speed, or for size...
I would vote for size. On slow platforms like PalmOS or Dreamcast
these filters are not used at all, so it will have no impact on them.

For modern systems I think that speed decrease will be just few
percents, which doesn't really matters since there is no heavy
computations. But right now code size is kind of bloated and even more
to follow, that's why I vote for size.


Eugene




More information about the Scummvm-devel mailing list