[erlang-questions] simple question about list memory consumption

Richard Carlsson carlsson.richard@REDACTED
Fri Jul 6 16:19:12 CEST 2012


On 07/06/2012 04:09 PM, Francesco Mazzoli wrote:
> What I did not realise is that
>
>> The two least significant bits are used for tagging as they are always 0 for a
>> pointer to word aligned data.
>
> Which makes it possible to include the tag in the word.

That's what a tag is, in the usual terminology. Otherwise it would have 
been called a header word.

    /Richard



More information about the erlang-questions mailing list