Re: stat/fstat

From: Date: Fri, 11 May 2001 20:00:07 +0000
Subject: Re: stat/fstat
References: 1 2 3 4 5 6 7  Groups: php.dev 
Request: Send a blank email to php-dev+get-54904@lists.php.net to get a copy of this message
Well, due to the great interest in memory conservation, fstat and stat are now rewritten to share the vals across multiple keys : ) So now we are saving the user 13* sizeof(zval)+sizeof(zend_mem_header).+whatever of memory : ) -Jason ----- Original Message ----- From: "Zeev Suraski" <zeev@zend.com> To: "Andrei Zmievski" <andrei@ispi.net> Cc: "Jason Greene" <jason@inetgurus.net>; "Jason Greene" <jason@php.net>; "Brian Foddy" <brian.foddy@nwa.com>; <derick@php.net>; "Stig Sæther Bakken" <ssb@fast.no>; "PHP Developers Mailing List" <php-dev@lists.php.net> Sent: Friday, May 11, 2001 12:36 PM Subject: Re: [PHP-DEV] stat/fstat > At 19:38 11/5/2001, Andrei Zmievski wrote: > >On Fri, 11 May 2001, Jason Greene wrote: > > > True, > > > I was lazy though and didn't feel like writing all that additional code, > > > just to save 13 longs of memory space : ) > > > >13 * sizeof(zval) actually. > > 13*(sizeof(zval)+sizeof(zend_mem_header)), and possibly slightly more, > actually :) > Next thing you know you'd run out of memory just because of this. > > Zeev >

« previous php.dev (#54904) next »