OK, I'll put in a hardcoded static function for now. (I think you're probably right about the compiler optimization but I'd want to test that first.)