Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] The tag bit
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-08-12 (14:31)
From: Bauer, Christoph <Christoph.Bauer@l...>
Subject: [Caml-list] The tag bit
Hello Caml-list,

why is the tag bit for a int/pointer is stored in and not next to a
Isn't it possible to divide the memory in blocks of 33 (65 on 64 bit
Words and the first Word contains all the tag bits? Then we can enjoy an
extra bit, some arithmetic operations could be done faster and all floats
be unboxed.

Of couse this is just a naive idea, but please tell me why ;-)

Christoph Bauer