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 GAA29078; Wed, 24 Jul 2002 06:26:37 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 GAA29069 for ; Wed, 24 Jul 2002 06:26:36 +0200 (MET DST) Received: from web13404.mail.yahoo.com (web13404.mail.yahoo.com [216.136.175.62]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id g6O4QZX23506 for ; Wed, 24 Jul 2002 06:26:35 +0200 (MET DST) Message-ID: <20020724042635.18417.qmail@web13404.mail.yahoo.com> Received: from [63.195.80.23] by web13404.mail.yahoo.com via HTTP; Tue, 23 Jul 2002 21:26:35 PDT Date: Tue, 23 Jul 2002 21:26:35 -0700 (PDT) From: Brian Naylor Subject: [Caml-list] functor question To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Is there any efficiency difference between: module Foo = Make (Bar) (Baz) and module Both = struct module Bar = Bar module Baz = Baz end module Foo = Make (Both) In other words, is it better to coalesce structures into a single functor application rather than to apply multiple functors? Do I pay more indirection costs in the first case? Thanks. __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com ------------------- 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