From: Richard J. <ri...@an...> - 2008-06-02 17:33:15
|
On Sun, Jun 01, 2008 at 01:15:28PM +0200, Florent Monnier wrote: > Florent Monnier wrote : > > Hi, > > It would be possible to make write_double more than twice faster > > (close to 3 times faster). > > The tradeoff is that there is additional C code. > > > > Cheers > > Have you decided to make the extlib with only ocaml code, > without any external C ? That's the policy - to make it easier to port extlib to any platform which supports OCaml. Is it possible to match the speed-ups using pure OCaml code? eg. by carefully looking at the generated assembler (ocamlopt -S) and studying why it might be slow? Rich. -- Richard Jones Red Hat |