Keep your optimizations to the most crucial loops and such, where it'll actually make a noticable difference - coding in assembly instead of C tends to make your code less readable, so don't do it everywhere.
Before you go for this approach, though, have you compiled in Release mode with optimizations on? Chances are the compiler knows what it's doing.
Main Topics
Browse All Topics





by: BeyondWuPosted on 2004-11-04 at 18:16:21ID: 12500621
>>>How do I then generated the new obj and invoke the linker to make the new program?
You can compile it with MASM6.x assembler first and then link it with your other modules.
>>>Can it be done with MSVC?
No, but you can convert your code into inline asm with _asm {... } directive, I think it's maybe the simplest approach for you.