??? 11/03/08 21:01 Read: times |
#159593 - Why Not inline C Responding to: ???'s previous message |
First it assumes that the compiler will put things in a specific place. Then it assumes the compiler will work around your code. It may not be able to optimize. You may corrupt registers it is using.
If you are inlining a NOP or a setbit OK. But the compiler gives you the ability to do this with C extensions. I am sure some could come up with an example where it is the best way to go. |