Re: [VOTE] 64 bit platform improvements for string length and integer
| From: | Pierre Joye | 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 internals+get-71861@lists.php.net to get a copy of this message | ||
On Jan 31, 2014 12:54 PM, "Jakub Zelenka" <bukka@php.net> 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).