Version franēaise
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] module/signature pattern concerns
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jean-Christophe Filliatre <Jean-Christophe.Filliatre@l...>
Subject: Re: [Caml-list] module/signature pattern concerns

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