Re: stat/fstat

From: Date: Fri, 11 May 2001 15:59:37 +0000
Subject: Re: stat/fstat
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-54881@lists.php.net to get a copy of this message
> On Fri, 11 May 2001, Jason Greene wrote: > > Its actually not that pretty.... > > Since the entries are in a hashtable, > > you have to duplicate the values, with just another key. > > You could just reuse the same value with refcount++ but that means you > can't use nice add_* functions, gotta use zend_hash_* ones directly. ;-) True, I was lazy though and didn't feel like writing all that additional code, just to save 13 longs of memory space : ) -Jason > -Andrei > > The Heineken Uncertainty Principle: > You can never be sure how many beers you had last night.

« previous php.dev (#54881) next »