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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php