Re: [PEPr] +1 for Encryption::Crypt_HMAC2

From: Date: Thu, 05 Jul 2007 17:00:34 +0000
Subject: Re: [PEPr] +1 for Encryption::Crypt_HMAC2
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-47228@lists.php.net to get a copy of this message
On 7/5/07, Paul M Jones <pmjones@ciaweb.net> wrote:
On Jul 4, 2007, at 11:16 AM, Till Klampaeckel wrote: Till Klampaeckel (http://pear.php.net/user/till) has voted +1 on the proposal for Encryption::Crypt_HMAC2. Proposal information: http://pear.php.net/pepr/pepr-proposal-show.php?id=495 Vote information: http://pear.php.net/pepr/pepr-vote-show.php?id=495&handle=till This vote is conditional. The condition is: * lazy loading breaks bytecode caching Is that so? I know that conditional class *definition* causes bytecode-cache misses, but I was not aware that conditional include/ require would cause trouble. Can you link to a reference on this?
From what I understand, it attemps to cache the file, but since the include is inside a condition and runtime dependent, it would break the cache when the condition is evaluated. Or maybe even every time (disclaimer: not sure). Since lazyloading (autoload, conditional includes, etc.) in general is runtime dependent - that defeats the entire caching. I know it's convenient. ;-) Correct me if I am wrong. Till

« previous php.pear.dev (#47228) next »