Version franēaise
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 (

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: