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 KAA29896; Wed, 12 Jun 2002 10:33:16 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 KAA29924 for ; Wed, 12 Jun 2002 10:33:15 +0200 (MET DST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g5C8X9b17724; Wed, 12 Jun 2002 10:33:09 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA29930; Wed, 12 Jun 2002 10:33:08 +0200 (MET DST) Date: Wed, 12 Jun 2002 10:33:08 +0200 From: Xavier Leroy To: David Chase Cc: caml-list@inria.fr Subject: Re: [Caml-list] Catching exceptions into strings Message-ID: <20020612103308.A29595@pauillac.inria.fr> References: <5.1.0.14.0.20020611092123.027cbb48@pop.theWorld.com> <20020611092333.GJ7647@adelscott.lanetcie.com> <5.1.0.14.0.20020611092123.027cbb48@pop.theWorld.com> <20020611173726.A14277@pauillac.inria.fr> <5.1.0.14.0.20020611133017.027fe7d8@pop.theWorld.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <5.1.0.14.0.20020611133017.027fe7d8@pop.theWorld.com>; from chase@world.std.com on Tue, Jun 11, 2002 at 01:44:59PM -0400 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > And lastly, what does it cost to do the check? Surely, you did not > omit the check in the name of efficiency (he says, smirking) without > first measuring the cost? The check is omitted in the name of (initial) simplicity of the ocamlopt code generator, e.g. "for a start, let's map all arithmetic operations to those of the hardware and see if that's good enough". I'm not too concerned about the run-time penalty: integer division is slow even on processors that have it in hardware. - Xavier Leroy ------------------- 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