On Wed, 2008-09-03 at 23:59 -0700, steve wrote: > Yes and No. PHP could be storing bools as a bit packed in a long word. > But your point about compiling is sill more valid. Compiling 32bit > instructions may use instructions that offer off-alignment memory > referencing. That is -- a bool may actual take only a byte in a 32bit > system. That instruction may not be available in 64bit mode. Thus that > bool taking a whole long word. 8x the space, not twice. It's hardly likely that a bool taking only a byte in a 32 bit environment would suddenly take 8 bytes in a 64 bit environment. Processors usually retain backward instructions and just pile on more. And in the case of compilers, compilers generally get smarter as technology advances and not dumber. The opposite might be true of user code though as developers become presumptive of the compiler doing their work for them :) > Let's write some assembly! Why torture ourselves? ;) 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