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.1 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 7A79EBC6B for ; Mon, 23 Jul 2007 19:35:42 +0200 (CEST) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.236]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l6NHZfpF024754 for ; Mon, 23 Jul 2007 19:35:42 +0200 Received: by wr-out-0506.google.com with SMTP id l58so1074463wrl for ; Mon, 23 Jul 2007 10:35:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=igCPdD/u1iqUdLqwzNhstpLme1j31QXIRx47CELMKuNAj0ebGIMI34jt5pCbkhLfTZiKMt4mxjkMGcd1iGVrU80/QvIeyZWdkMmXHT8c05hou4Giqf03sjEGwUIw5JD6wXeFudTFP77VnS+pM9UK1XevAtfGikuplVvAgiLoqOo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=hFr3LGt6mWg7rpVl7ivds3jCJ6GRMf+yIkES5695I8VkSMavBkXZl68QqhHmj0pa25NAFoHTObj9sw4q99B5TKKT2TcqrkznxvO+r/Lfw9D6NxvXJN4HiZdp1iTqus/kHpqrEnVfjLf8+1JaIO8A/Du/383R6NCTzSU5vjfCVRc= Received: by 10.142.90.8 with SMTP id n8mr244871wfb.1185212140630; Mon, 23 Jul 2007 10:35:40 -0700 (PDT) Received: by 10.143.168.5 with HTTP; Mon, 23 Jul 2007 10:35:40 -0700 (PDT) Message-ID: <9d3ec8300707231035i5a218c16lb1bb1c11cac23e6d@mail.gmail.com> Date: Mon, 23 Jul 2007 19:35:40 +0200 From: "Till Varoquaux" To: OCaml Subject: Does the gc avoid collecting arrays of ints MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-j-chkmail-Score: MSGID : 46A4E6ED.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 46A4E6ED.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; arrays:01 ocaml's:01 arrays:01 unboxed:01 garbage:01 ints:01 ints:01 slower:02 representing:05 representing:05 mean:08 i'm:09 i'm:09 guessing:09 guessing:09 Looking at ocaml's source code I see that the values representing arrays have a tag representing the type of their content (I'm guessing boxed/unboxed). Does this mean that a bidimensional array containing ints will only be explored in one direction during garbage collection? If so, how do the compare to Bigarray's (I'm guessing they still are slower). Till -- http://till-varoquaux.blogspot.com/