Yikes.  We were only kidding, Jason :)


At 23:00 11/5/2001, Jason Greene wrote:
>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" <[EMAIL PROTECTED]>
>To: "Andrei Zmievski" <[EMAIL PROTECTED]>
>Cc: "Jason Greene" <[EMAIL PROTECTED]>; "Jason Greene" <[EMAIL PROTECTED]>; 
>"Brian Foddy" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
>"Stig Sæther Bakken" <[EMAIL PROTECTED]>; "PHP Developers Mailing List" 
><[EMAIL PROTECTED]>
>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
> >

--
Zeev Suraski <[EMAIL PROTECTED]>
CTO &  co-founder, Zend Technologies Ltd. http://www.zend.com/


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to