Re: [APC-DEV] IS_INTERNED for apc + zend mixtures

From: Date: Wed, 27 Jul 2011 21:19:22 +0000
Subject: Re: [APC-DEV] IS_INTERNED for apc + zend mixtures
References: 1 2  Groups: php.apc.dev 
Request: Send a blank email to php-apc-dev+get-272@lists.php.net to get a copy of this message
On Wednesday 27 July 2011 01:22 PM, Rasmus Lerdorf wrote:
On 07/27/2011 01:12 PM, Gopal V wrote:
We probably need an override for that so that we can nest multiple interned blocks which are non contiguous between different modules.
Gopal, can you come up with a suggested override patch for the engine and we'll get it committed before the alpha-3 release next week.
Attached is the patch suggested. I propose that APC should not modify the CG() variables at all and should keep the interned string in its own apc globals. So the future apc_is_interned_string would have a short-cut for APCSG() and then check in CG() (either via calling the original function or an explicit check for speed). Cheers, Gopal

Attachment: [text/x-patch] zend-is-interned.patch
« previous php.apc.dev (#272) next »