> ZTS is *always* going to be slower than non ZTS.

Yes, but it can be faster than it is. PHP doesn't use almost any shared
resources (compiled regexs?) so why it is so slow ? Thread-safe syscalls
? I don't think so.

> There's no need for rewriting TSRM, it's roughly as fast as it can be. 

Things changes ... 
Now we have AD2003 and __thread keyword in gcc. I suppose that if we use
it we could get rid of all this TSRMLS*. I know - PHP is not for linux
only - but we could have it in TSRM implementation.
I'm sure that compiler will optimize it better if __thread keyword will
be used instead of TSRMLS*.

Regards,
Wojtek



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

Reply via email to