Thanks for the responses.

@lindley: Good idea, I'll try it on Monday when I get back to work.

@cilu: I know the inline is just a suggestion to the compiler - seems like most of the time the compiler barely even considers it. What irritates me is that it seems like a pretty obvious candidate for inlining and now I'm left with no elegant solution. It also makes me wonder where else in the library we might have this problem.