caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Doligez <Damien.Doligez@inria.fr>
To: caml-list@inria.fr
Subject: sondage / opinon poll
Date: Thu, 1 Feb 2001 14:31:00 +0100 (MET)	[thread overview]
Message-ID: <200102011331.OAA0000032678@beaune.inria.fr> (raw)

Hello,

I'm thinking of making a small change to the Gc module in the standard
library in order to get rid of the overflow problems with the
allocation counters.

In the current version of O'Caml, the GC returns its statistics as
values of type int, but some of these values can easily go over 1G,
leading to overflow and useless statistics (except on 64-bit machines).

The plan is to change these values to float, affording 53 bits of
precision instead of the current 31 (or 63 on 64-bit machines).  The
values affected would be:
- the fields minor_words, promoted_words, major_words in the stat record,
- all three fields of the result of the counters function,
- the result type of allocated_bytes.

Now the question is, do we just change these, or do we need to keep
the current version of the functions for backward compatibility, and
add new functions with the new types ?


If you use these functions, please drop me a note saying whether you
would be greatly inconvenienced by an incompatible change in their
types.

-- Damien



                 reply	other threads:[~2001-02-02 15:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200102011331.OAA0000032678@beaune.inria.fr \
    --to=damien.doligez@inria.fr \
    --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).