> currently you only have one statement in each of those functions..
> anyway it's not critical to have static inline functions.

I will need to have them (multiple statements) for the cycle
collection code, and I don't think there are many situations involving
changing the way reference counting is done where only one statement
is sufficient. In any case, it's good future-proofing.

> nops. The Zend engine redefines the inline keyword itself somewhere.

Hmm. I did not know that. Where? A quick grep doesn't seem to show
anything significant. And I do know (experimentally) that a vast
number of supposed "inline" functions aren't actually inlined
currently because the compiler decides it doesn't want to do it. It
gave me a lot of problems when I was trying to optimize my gc code.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to