From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA20519 for caml-red; Fri, 2 Feb 2001 16:22:26 +0100 (MET) 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 OAA04433 for ; Thu, 1 Feb 2001 14:31:01 +0100 (MET) Received: from beaune.inria.fr (beaune.inria.fr [128.93.8.3]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f11DV0n06946 for ; Thu, 1 Feb 2001 14:31:00 +0100 (MET) Received: by beaune.inria.fr (8.8.8/1.1.22.3/14Sep99-0328PM) id OAA0000032678; Thu, 1 Feb 2001 14:31:00 +0100 (MET) Date: Thu, 1 Feb 2001 14:31:00 +0100 (MET) From: Damien Doligez Message-Id: <200102011331.OAA0000032678@beaune.inria.fr> To: caml-list@inria.fr Subject: sondage / opinon poll Sender: weis@pauillac.inria.fr 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