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=0.0 required=5.0 tests=none 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 2D1B2BC0A for ; Thu, 5 Apr 2007 23:54:34 +0200 (CEST) Received: from mail.enyo.de (mail.enyo.de [212.9.189.167]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l35LsXss005027 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 5 Apr 2007 23:54:33 +0200 Received: from deneb.vpn.enyo.de ([212.9.189.177] helo=deneb.enyo.de) by mail.enyo.de with esmtp id 1HZZuZ-00027d-4R; Thu, 05 Apr 2007 23:54:31 +0200 Received: from fw by deneb.enyo.de with local (Exim 4.63) (envelope-from ) id 1HZZuW-0005LU-Sc; Thu, 05 Apr 2007 23:54:28 +0200 From: Florian Weimer To: Tom Cc: david.baelde@ens-lyon.org, OCaml Mailing List Subject: Re: [Caml-list] Optimizing Array.blit References: <53c655920704041519t77930d38y52003888139b9d2c@mail.gmail.com> Date: Thu, 05 Apr 2007 23:54:28 +0200 In-Reply-To: (Tom's message of "Thu, 5 Apr 2007 19:56:18 +0200") Message-ID: <87r6qy5vxn.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at discorde with ID 46157019.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; blit:01 blit:01 chunks:01 flags:01 slower:01 caml-list:01 optimizing:02 checking:02 florian:03 guess:04 probably:07 overlapping:09 overlapping:09 copied:11 however:13 * Tom: > However, Array.blit allows overlapping of the chunks that are to be copied. > So, probably it is slower because it is checking for the overlapping regions > and dealing with them appropriately. I guess it's because it has to update the GC flags.