Ok peeps, I set upon you a compilation challenge
![](tongue.gif)
I''ve tried and tried, fiddling with all the settings I can find, but I still cannot get a dll to compile to as fast as code under msvc6 as I could with msvc4, even with optimisations etc.
Fortunately, I still have old copies of that dll, but now I want to add new data to it, I need to be able to get it to compile to run as fast I used to.
The actual dll is very simple, so perhaps some simple redesign might be the answer. But the baffling thing is, with the *exact* same code, I get a faster dll under msvc4.
If anybody''s bored, or is nifty with their compiler settings, then please feel free to get back to me with the correct settings and proof (ie. the supah fast dll ).
![](smile.gif)
If you want to check whether or not it''s faster than the old dll, then get the program at www.razors.org/tee.zip (~500kb).
The dll included with that is the old, fast one, generated by the same code as I have now, but under msvc4. To get feedback on benchmarks in this program, press tab to toggle the console on, and use the electron probability setup on any state, and it will give you a time taken figure. A typical value with the old dll is 1500. With a newly compiled version it can be 4000
![](sad.gif)
.
The source for the dll is here:
http://www.razors.org/dll.zip.
Thanks for participating
![](wink.gif)
.
r.
"The mere thought hadn''t even begun to speculate about the slightest possibility of traversing the eternal wasteland that is my mind..."