From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id A1FF8BC0A for ; Mon, 19 Feb 2007 12:36:43 +0100 (CET) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.175]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l1JBahTj013635 for ; Mon, 19 Feb 2007 12:36:43 +0100 Received: by ug-out-1314.google.com with SMTP id q2so565116uge for ; Mon, 19 Feb 2007 03:36:43 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=EdTVhNGp8qDYlht4b+LaFH4oOP9WkcSHyL+eQmkz4rITa2r4b4BCI+XTfUFbFbNK63pwm4W2k14ds1CF5tYHqeQWf8x2bSUpnQRyyC2LfK4yrNx4R3H2TJ8td9AMSqVl1lC8f0qkJVKBQGTUoAxt+FLJay6lG7h4AAQHYo5+k7U= Received: by 10.78.183.15 with SMTP id g15mr694212huf.1171884966899; Mon, 19 Feb 2007 03:36:06 -0800 (PST) Received: by 10.78.25.13 with HTTP; Mon, 19 Feb 2007 03:36:06 -0800 (PST) Message-ID: <95513600702190336y1184d98dx430144e1ecf0572@mail.gmail.com> Date: Mon, 19 Feb 2007 12:36:06 +0100 From: "Olivier Andrieu" Sender: oandrieu@gmail.com To: "David Allsopp" Subject: Re: [Caml-list] Return "value" of caml_hash_variant Cc: "OCaml List" In-Reply-To: <00d501c75418$05659480$6a7ba8c0@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <00d501c75418$05659480$6a7ba8c0@treble> X-Google-Sender-Auth: 83a5e4c56fec93e1 X-Miltered: at discorde with ID 45D98BCB.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; andrieu:01 oandrieu:01 hash:01 hash:01 gc'd:01 heap:01 wrote:01 caml-list:01 ints:01 nerim:01 variant:02 variant:02 caml:02 caml:02 allocated:03 On 2/19/07, David Allsopp wrote: > Is it possible to cache the return value of caml_hash_variant in a global > variable without registering it as a root or, given the rather "special" > nature of these values, are they allocated outside the GC'd heap? ?? those are ints ...