caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Florian Hars <hars@bik-gmbh.de>
To: "Bauer, Christoph" <Christoph.Bauer@lms-gmbh.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] The tag bit
Date: Thu, 12 Aug 2004 16:55:14 +0200	[thread overview]
Message-ID: <411B84D2.7050705@bik-gmbh.de> (raw)
In-Reply-To: <D981925B4F2CD611870300E0184CEE9B0157F25F@mail.lms-gmbh.de>

Bauer, Christoph wrote:
> 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?

Good idea, but lets go the whole way: I always thougth the decision to have 
eight bits to a byte instead of nine most unfortunate. Why don't we just add a 
bit to all our bytes, we could express so much more per byte? Just imagine the 
possibilities in I18N:  UTF-18 would need considerably less plane shifting that 
UTF-16.

(On a more serious note: You propose to turn the tag bit into a tag long word, 
requiring two memory acesses instead of one and blowing up the storage 
requriments for ints and pointers by a factor of two, which will slow down 
about everything. You can get more or less the same effects now without any 
change to the compiler by using Int32.)

Yours, Florian.

-------------------
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


  reply	other threads:[~2004-08-12 14:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-12 14:31 Bauer, Christoph
2004-08-12 14:55 ` Florian Hars [this message]
2004-08-12 14:56 ` Marcin 'Qrczak' Kowalczyk
2004-08-12 15:10 ` Olivier Pérès
2004-08-12 15:30 ` Brian Hurt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=411B84D2.7050705@bik-gmbh.de \
    --to=hars@bik-gmbh.de \
    --cc=Christoph.Bauer@lms-gmbh.de \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).