On Fri, 13 Jul 2001, Alex Angas wrote: > Regarding optimisation changes particularly in the release build, refer to > this MS document: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvc60/html > /optcode.asp > (Sorry about the hyperlink wrap.) > Under minimize size, sciv.exe was 108K, freesci.dll was 716K; > under maximize speed, sciv.exe was 101K, freesci.dll was 541K; so not a big > difference when you really want performance (I hope). In a book I'm reading called "Debugging Applications" from MS Press, it recommends using "minimize Size" for a couple of reasons: 1) the kind of optimizations that maximize speed does doesn't help ineffecicient algorithms. Optimize the algorithms, don't let the compiler guess and potentially miscompile things. 2) maximize speed optmimizations can complicate debugging, especially when using tools like boundschecker, purify, insure++, etc. > I also changed to SDL-1.2.1 which is available from the libsdl.org (look for > the file SDL-devel-1.2.1-VC6.zip - contains pre-compiled sdl.lib and > sdl.dll). I thought I did change the .dsp to point to sdl-1.2.1? That's how I've been building it locally, anyways; and I thought I had Christoph update the dsp with those changes. > Matt - why do you never have a problem with MOD_WAVETABLE in > midiout_win32.c? I always need to change it to MOD_SQSYNTH to > compile. Maybe you're using the VC6 header files before the SDK header files in your directories config? > Also, are all of the sleeps high-resolution ones now? scriptdebug.c > needs one #defined at the top I think. Do a rebuild all and hopefully you'll > see what I mean. I'm not sure what you mean by "high resolution sleeps", but I'll take a look at that file when I get back from vacation. Thanks for the help, I appreciate it! :)
