From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA12765; Tue, 18 Feb 2003 22:02:48 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA13545 for caml-list@pauillac.inria.fr; Tue, 18 Feb 2003 22:02:48 +0100 (MET) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA10878 for ; Mon, 17 Feb 2003 19:03:15 +0100 (MET) Received: from mail.info.univ-angers.fr (nes.info.univ-angers.fr [193.49.146.122]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h1HI3Ef10248 for ; Mon, 17 Feb 2003 19:03:14 +0100 (MET) Received: from pollux.info-ua (pollux.info-ua [172.20.41.9]) by mail.info.univ-angers.fr (Postfix) with ESMTP id 934DFA22 for ; Mon, 17 Feb 2003 19:03:13 +0100 (CET) Received: from helios.info-ua (helios.info-ua [172.20.41.5]) by pollux.info-ua (Postfix) with ESMTP id 280092DB20 for ; Mon, 17 Feb 2003 18:03:13 +0000 (MET) Received: by helios.info-ua (Postfix, from userid 759) id 01156142B8; Mon, 17 Feb 2003 18:03:12 +0000 (MET) Received: from localhost (localhost [127.0.0.1]) by helios.info-ua (Postfix) with ESMTP id DFE1E1D8D for ; Mon, 17 Feb 2003 19:03:12 +0100 (MET) Date: Mon, 17 Feb 2003 19:03:12 +0100 (MET) From: Vincent Barichard X-X-Sender: barichar@helios.info-ua To: CAML-LIST Subject: [Caml-list] Ocaml efficiency Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, I've made a caml algorithm for solving some combinatorial problems. I've made a little user interface with camltk in order to launch many times the solving procedure. I ran it, and I clicked on the start button one time, the computing time was about 30s. When I clicked a second time, the computing time exceeded 60s !! The programm doesn't store in any data structure the results of the run, and all the variables values remain the same as before the run. The outputs of the two runs are identical, just the running time is different. I guessed that it was a problem about memory management, garbage collector, so I tried Gc.full_major and Gc.compact, but it didn't work. Is anyone has any ideas or suggestions to help me ? Thanks, Vincent Vincent Barichard M=E9taheuristiques et Optimisation Combinatoire Facult=E9 des Sciences d'Angers Tel : 02 41 73 52 06 ------------------- 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