On Wed, 22 Sep 2010 17:24:33 +0200, Hans Hübner hans.huebner@gmail.com wrote:
On Wed, Sep 22, 2010 at 17:18, Daniel Weinreb dlw@itasoftware.com wrote:
How is this different from using an "inline" declaration?
Some compilers ignore inline declarations. With defsubst, you are not at the mercy of the compiler. I have used defsubst (Allegro CL has it) in places where I was absolutely sure that inlining was the right thing to do.
This all reminds me of the old lkml glory:
http://markmail.org/message/uaegqp4xznxupctd
The "inline_me_harder" one is my personal favorite.