Dmitry Stogov wrote:
In general this patch will use more memory.
(4 bytes more for each heap allocated zval).

The only advantage is automatic cycle collection, but most web applications doesn't make cycles.

Could it be that this code should only be enabled for the CLI sapi? That is where I would want it most. Only in my cli apps do I run into having to trick the garbage collection into working in my favor. I usually end having my loop just call a function on each pass. That seems to help with memory use in PHP currently.

--

Brian Moon
Senior Developer
------------------------------
http://dealnews.com/
It's good to be cheap =)

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

Reply via email to