From: Florent M. <fmo...@li...> - 2008-06-01 11:07:02
|
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 ? Anyway if you wish to test the write_double_opt, grab it here: http://www.linux-nantes.org/~fmonnier/TMP/extlib-1.5.1_write_double_opt.tar.bz2 and to test, just open the tarball and type: sh test_write_double.sh Here are the elapsed times that I get: 0.44 sec. -- the implementation of the current extLib 0.16 sec. -- proposal for inclusion in the extLib distribution 0.14 sec. -- with a higher-order function -- Cheers Florent |