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 TAA16989; Wed, 7 Jul 2004 19:41:07 +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 TAA17062 for ; Wed, 7 Jul 2004 19:41:06 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from jacquard.numericable.net (jacquard.numericable.net [80.236.0.148]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i67Hf5SH016791 for ; Wed, 7 Jul 2004 19:41:06 +0200 Received: (qmail 19654 invoked from network); 7 Jul 2004 17:41:05 -0000 Received: from unknown (HELO laposte.net) ([81.220.100.229]) (envelope-sender ) by jacquard.numericable.net (qmail-ldap-1.03) with SMTP for ; 7 Jul 2004 17:41:05 -0000 Message-ID: <40EC3631.5010905@laposte.net> Date: Wed, 07 Jul 2004 19:43:13 +0200 From: =?ISO-8859-1?Q?Olivier_P=E9r=E8s?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040206 X-Accept-Language: br, fr-fr, fr, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: Re: [Caml-list] Does Caml have slow arithmetics ? References: <20040707130016.GA27591@bourg.inria.fr> <40EC122C.3040300@laposte.net> <20040707170611.GA24565@davidb.org> In-Reply-To: <20040707170611.GA24565@davidb.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 40EC35B1.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 arithmetics:01 pointers:01 pointers:01 aligned:01 ocaml:01 ocaml:01 caml:01 polymorphic:01 olivier:02 olivier:02 necessarily:02 heap:03 wrote:03 allocated:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk David Brown wrote: > > The only pointers that ocaml "cares" about (in the sense of the GC or > polymorphic compare) are those that are allocated on the ocaml heap. Sure, but the reason given above to zero-tag integers was to have C pointers "look" like integers to the GC. However, C pointers are not necessarily aligned and thus may mislead the GC into trying to garbage-collect them. Olivier. ------------------- 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