Re: [VOTE] 64 bit platform improvements for string length and integer

From: Date: Fri, 31 Jan 2014 11:57:57 +0000
Subject: Re: [VOTE] 64 bit platform improvements for string length and integer
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Jan 31, 2014 12:54 PM, "Jakub Zelenka" <[email protected]> wrote:
>
>
> - before the patch: 8B (ptr) + 4B (int) + 4B (alignment) = 16B
> - after the patch: 8B (ptr) + 8B (size_t) = 16B
>
> That seems like no increase to me. Is there anything else that I missed?

size_t will be 8 bytes on most architecture. That's 4 bytes more than what
we have now for buffer length (using int).


Thread (132 messages)

« previous php.internals (#71861) next »