[erlang-questions] calculating memory consumption

Björn Gustavsson <>
Fri Jan 22 07:17:10 CET 2010


On Fri, Jan 22, 2010 at 7:07 AM, Richard O'Keefe <> wrote:
> (The efficiency guide says that the range of fixnums is
> (-16#7FFFFFF < i <16#7FFFFFF), or 28 bits.  I've always
> hoped that that was simply an incomplete edit, and that
> 64-bit Erlang allowed 60-bit fixnums.  If not, why not?

It is an incomplete edit. Fixnums *are* 60 bits on a 64-bit machine.

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB


More information about the erlang-questions mailing list