>> I would be very worried about making numbers 8 bytes by default,
>> unless the CPU supports them natively. There are a lot of consequenses
>> involved with something like that.
>>
>> Assuming a 32 bit register system (x86) integers will no longer fit in
>> registers. This changes EVERYTHING, from passing them to functions, to
>> how arithatic is performed. Nor am I sure what the state of compilers
>> are in all PHP's supported environments, do the compilers handle "long
>> long?"
>
> These are problems indeed, it is just an idea, I don't know what the
> performance impacts are. Unfortunately it's quite a work to change it,
> otherwise it's a question of trying it and see what the impact is on
> typical scripts.
Hey, it's open source, go for it dude. Let us know.
>
> For compilers possibly not supporting "long long", it's about wether
> they support 64bit integers. Does someone know how the support of 64bit
> integers is in compiler-land?
On the 32bit environments, 64bit integers are implemented as long long,
unless you want to implement the 64bit manipulation routines yourself
(yikes.)
--
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]