Hello Moriyoshi, Monday, April 5, 2010, 5:57:38 PM, you wrote:
>> Is overhead of starting new thread large? > The cost is almost the same as when spawning a new runtime instance on > a threaded web server with TSRM enabled. If you'd pass a large data > to the subthread, then the overhead should go large because of the > deep copy. Note that could be optimized by implementing copy on write (with properly placed hooks and shared data) between contexts - would save tons of memory and speed up the thread creation by an order of magnitude. > Moriyoshi -- Best regards, speedy mailto:speedy.s...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php