From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 7F80CBDC5 for ; Mon, 22 Aug 2005 19:00:48 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j7MH0lDg022761 for ; Mon, 22 Aug 2005 19:00:47 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA13363 for ; Mon, 22 Aug 2005 19:00:47 +0200 (MET DST) Received: from triton.rz.uni-saarland.de (triton.rz.uni-saarland.de [134.96.7.25]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j7MH0kBo022754 for ; Mon, 22 Aug 2005 19:00:47 +0200 Received: from uni-sb.de (uni-sb.de [134.96.7.230]) by triton.rz.uni-saarland.de (8.12.10/8.12.10) with ESMTP id j7MH0jkR2097057 for ; Mon, 22 Aug 2005 19:00:45 +0200 (CEST) Received: from cs.uni-sb.de (cs.uni-sb.de [134.96.252.31]) by uni-sb.de (8.13.4/2005060800) with ESMTP id j7MH0fMY001878; Mon, 22 Aug 2005 19:00:41 +0200 (CEST) Received: from mail.cs.uni-sb.de (mail.cs.uni-sb.de [134.96.254.200]) by cs.uni-sb.de (8.13.4/2005033000) with ESMTP id j7MH0ebu012320; Mon, 22 Aug 2005 19:00:41 +0200 (CEST) Received: from mail.st.cs.uni-sb.de (goscinny.cs.uni-sb.de [134.96.235.32]) by mail.cs.uni-sb.de (8.13.4/2005060800) with ESMTP id j7MH0e1Y028852; Mon, 22 Aug 2005 19:00:40 +0200 (CEST) X-Authentication-Warning: mail.cs.uni-sb.de: Host goscinny.cs.uni-sb.de [134.96.235.32] claimed to be mail.st.cs.uni-sb.de Received: from [134.96.235.101] (jonagold.cs.uni-sb.de [134.96.235.101]) by mail.st.cs.uni-sb.de (Postfix) with ESMTP id 4B9F51BDBA; Mon, 22 Aug 2005 19:00:40 +0200 (CEST) In-Reply-To: <4309F764.9050409@mcmaster.ca> References: <4309F764.9050409@mcmaster.ca> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <7e4887fc6ebcce865c4c0f70b5b7e238@cs.uni-sb.de> Content-Transfer-Encoding: 7bit Cc: caml-list@inria.fr From: Christian Lindig Subject: Re: [Caml-list] Compilation speed of modules/functors Date: Mon, 22 Aug 2005 19:00:39 +0200 To: Jacques Carette X-Mailer: Apple Mail (2.622) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.1 (triton.rz.uni-saarland.de [134.96.7.25]); Mon, 22 Aug 2005 19:00:45 +0200 (CEST) X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.31.1.0; VDF 6.31.1.158 X-Miltered: at nez-perce with ID 430A04BF.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 430A04BE.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; lindig:01 lindig:01 caml-list:01 compilation:01 functors:01 compilation:01 pubs:01 pubs:01 2005,:98 wrote:01 uni-sb:01 compile:01 eecs:01 eecs:01 modules:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 On Aug 22, 2005, at 6:03 PM, Jacques Carette wrote: > Are there known issues with compilation speed of heavily functorized > code? At least the Lua-ML interpreter is another example. http://www.cminusminus.org/rsync/dist/ http://www.cminusminus.org/rsync/qc--/lua/ http://www.cminusminus.org/rsync/qc--/lua/lualib.nw The construction of the interpreter is discussed in these papers: http://www.eecs.harvard.edu/~nr/pubs/embed-abstract.html http://www.eecs.harvard.edu/~nr/pubs/mania-abstract.html Module lualib.nw links together the library for the interpeter and uses heavily functorized code. It takes also several seconds to compile this otherwise small module. -- Christian