caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@lri.fr>
To: "mattwb" <mattwb@alve.com>
Cc: <caml-list@inria.fr>
Subject: Re: [Caml-list] module/signature pattern concerns
Date: Fri, 29 Nov 2002 09:27:14 +0100	[thread overview]
Message-ID: <15847.9442.38046.871632@lri.lri.fr> (raw)
In-Reply-To: <003a01c29703$e1e2fa00$fdeef5d1@unknown427igcj>


mattwb writes:
 > 
 > My concern is that I will take a significant performance hit by using
 > functors
 > so much and using so many layers.  I haven't noticed this problem in any of
 > the code that I have written, but I am slightly paranoid that, at a much
 > larger
 > scale, this would become an issue.

An  ocaml  defunctorizer, developped  by  Julien  Signoles,  is to  be
released soon.  Using it,  you'll get an  equivalent code  without any
functor anymore. I guess it'll ease your paranoia...

Moreover,  the first  benchmarks with  this defunctorizer  proved that
using  many functors  does  not  have necessarily  a  (bad) impact  on
performance. So you can really stop being paranoid :-)

-- 
Jean-Christophe Filliâtre (http://www.lri.fr/~filliatr)

-------------------
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


      reply	other threads:[~2002-11-29  8:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-28 17:30 mattwb
2002-11-29  8:27 ` Jean-Christophe Filliatre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15847.9442.38046.871632@lri.lri.fr \
    --to=jean-christophe.filliatre@lri.fr \
    --cc=caml-list@inria.fr \
    --cc=mattwb@alve.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).