From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA31673; Thu, 12 Aug 2004 16:31:24 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA30796 for ; Thu, 12 Aug 2004 16:31:23 +0200 (MET DST) Received: from kaiserslautern1.lms-gmbh.de (kaiserslautern1.lms-gmbh.de [212.43.68.201]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i7CEVMRM005455 for ; Thu, 12 Aug 2004 16:31:22 +0200 Received: by mail.lms-gmbh.de with Internet Mail Service (5.5.2653.19) id ; Thu, 12 Aug 2004 16:31:17 +0200 Message-ID: From: "Bauer, Christoph" To: caml-list@inria.fr Subject: [Caml-list] The tag bit Date: Thu, 12 Aug 2004 16:31:14 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C48079.057924C0" X-Miltered: at concorde with ID 411B7F3A.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; bauer:01 bauer:01 caml-list:01 floats:01 unboxed:01 caml-list:01 floats:01 unboxed:01 int:01 int:01 arithmetic:01 arithmetic:01 pointer:03 pointer:03 bits:05 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C48079.057924C0 Content-Type: text/plain Hello Caml-list, why is the tag bit for a int/pointer is stored in and not next to a int/pointer. Isn't it possible to divide the memory in blocks of 33 (65 on 64 bit machines) 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 could be unboxed. Of couse this is just a naive idea, but please tell me why ;-) Regards, Christoph Bauer ------_=_NextPart_001_01C48079.057924C0 Content-Type: text/html The tag bit

Hello Caml-list,

why is the tag bit for a int/pointer is stored in and not next to a int/pointer.
Isn't it possible to divide the memory in blocks of 33 (65 on 64 bit machines)
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 could
be unboxed.

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

Regards,
Christoph Bauer

------_=_NextPart_001_01C48079.057924C0-- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners