Re: Re: PHP on 64bit Ubuntu
| From: | Robert Cummings | Date: | Wed, 03 Sep 2008 18:55:46 +0000 |
| Subject: | Re: Re: PHP on 64bit Ubuntu | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279441@lists.php.net to get a copy of this message | ||
On Wed, 2008-09-03 at 11:51 -0700, alexander lind wrote:
> On Sep 3, 2008, at 11:21 AM, Colin Guthrie wrote:
>
> > Colin Guthrie wrote:
> >> Therefore, depending on your structures and how much use of
> >> pointers you use, the size will always be more, but should always
> >> be *less* than half.
> >
> > Erm, that should read "*less* than double."
> >
> >
> > If you only ever user your stack to store pointers to malloc'ed
> > memory the size of which is based on sizeof(<a pointer>), I guess it
> > could be *exactly* double, but that's very, very unlikely. Hence why
> > it "should always be *less* then _double_".
>
> Yay, my initial simpleton assessment of this turns out to be correct :-)
No, not always. Envision a program that only uses long integers and
pointers ;) The correct phrase would be "should always be "*less than or
equal* to _double_".
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP