Re: [RFC] 64 bit improvements, open questions

From: Date: Wed, 22 Jan 2014 11:27:13 +0000
Subject: Re: [RFC] 64 bit improvements, open questions
References: 1 2  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Wed, Jan 22, 2014 at 11:56 AM, Julien Pauli <[email protected]> wrote:

> I would suggest getting rid of those old SAPIs nobody use anymore.
> Late 90's SAPI that are not used/maintained anymore can die , IMO.

agreed.

> I also have a memory usage question.
> Have we measured the impact of extending all 32 ints to 64 ? Memory
> usage should be higher, but how many higher ?

For buffers (string), 4 bytes more as the length is now an integer
(always 32 bits, even on linux 64bit) and it will be size_t, which
will be 64bit from now on. No change for integers as we use long now,
which is 64bit already on 64bit systems (but windows, always 32bits
there).

Cheers,
-- 
Pierre

@pierrejoye | http://www.libgd.org


Thread (15 messages)

« previous php.internals (#71406) next »