[erlang-questions] simple question about list memory consumption

Magnus Henoch <>
Fri Jul 6 15:15:09 CEST 2012


> Small enough integers (28/60 bit signed integers) *are* stored as
> immediates in the list cells.
> 
> /Sverker, Erlang/OTP

Oh, now I see - I was misreading the page Bob linked.  It says
"1 word + 2 words per character" which I read as
"(1 word + 2 words) per character"...

Makes more sense now :)

-- 
Magnus Henoch
Erlang Solutions Ltd
http://www.erlang-solutions.com/




More information about the erlang-questions mailing list