Chris Hecker wrote: > >> What if I modified bigarray_stubs.c to use the malloc and free calls >> of the Boehm gc (6.1-4) garbage collector? My reasoning is that malloc >> is performing poorly due to fragmentation, and switching to a gc'd >> version might help out. >> Before I try this I would like some feedback from the list on the >> soundness of this idea. > > > I don't mean to be a nag, but did you profile your application yet? A > very wise programmer once said, "Assume Nothing". > > Chris > Always remember that if you do anything preventing the compiler to use float optimizations, you will pay sometimes a 10 factor in speed and there may be other reasons (may be your second algorithm is really more efficient because you were more clever than you expected ?). GC problem are in fact not so common. So "Assume Nothing" because I suspect you are wrong ... -- Christophe Raffalli Université de Savoie Batiment Le Chablais, bureau 21 73376 Le Bourget-du-Lac Cedex tél: (33) 4 79 75 81 03 fax: (33) 4 79 75 87 42 mail: Christophe.Raffalli@univ-savoie.fr www: http://www.lama.univ-savoie.fr/~RAFFALLI --------------------------------------------- IMPORTANT: this mail is signed using PGP/MIME At least Enigmail/Mozilla, mutt or evolution can check this signature ---------------------------------------------