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 RAA13031; Mon, 31 Dec 2001 17:01:47 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA13738 for ; Mon, 31 Dec 2001 17:01:46 +0100 (MET) Received: from web10705.mail.yahoo.com (web10705.mail.yahoo.com [216.136.130.213]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id fBVG1jH14570 for ; Mon, 31 Dec 2001 17:01:45 +0100 (MET) Message-ID: <20011231160144.47824.qmail@web10705.mail.yahoo.com> Received: from [209.179.218.223] by web10705.mail.yahoo.com via HTTP; Mon, 31 Dec 2001 08:01:44 PST Date: Mon, 31 Dec 2001 08:01:44 -0800 (PST) From: Shannon --jj Behrens Subject: Re: [Caml-list] Kernel in OCAML using native compiler To: caml-list@inria.fr MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I hope you don't mind if I ask you another question conscerning writing a kernel in OCAML. I was writing a few programs to find primes in C and in OCAML so that I could compare the performance. It appears that OCAML offers a very nice compromise of code length and code execution speed. However, I also noticed occasional pauses in the primes generation during which (I assume) OCAML was doing its (two levels) of garbage collection. I fear that reference counting might be a more appropriate algorithm for *GC in a kernel* than what I guess is two levels of mark and sweep. Can you comment on this or perhaps offer any workarounds? I did play with the Gc module's control structure, but didn't really gain any huge improvements. Thanks for your time, -jj __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr