From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id XAA06283 for caml-redist@pauillac.inria.fr; Sun, 14 May 2000 23:17:29 +0200 (MET DST) Resent-Message-Id: <200005142117.XAA06283@pauillac.inria.fr> 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 AAA21664 for ; Sun, 14 May 2000 00:01:55 +0200 (MET DST) Received: from e23.nc.us.ibm.com (e23.nc.us.ibm.com [32.97.136.229]) by concorde.inria.fr (8.10.0/8.10.0) with ESMTP id e4DM1s125355 for ; Sun, 14 May 2000 00:01:54 +0200 (MET DST) Received: from southrelay03.raleigh.ibm.com (southrelay03.raleigh.ibm.com [9.37.3.210]) by e23.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id RAA34712 for ; Sat, 13 May 2000 17:42:48 -0500 Received: from BLDVMA.boulder.ibm.com (bldvma.boulder.ibm.com [9.99.64.30]) by southrelay03.raleigh.ibm.com (8.8.8m3/NCO v2.07) with SMTP id SAA44438 for ; Sat, 13 May 2000 18:01:47 -0400 Received: by BLDVMA.boulder.ibm.com (IBM VM SMTP Level 310) via spool with SMTP id 7710 ; Sat, 13 May 2000 16:02:32 MDT Reply-To: "Daniel Ortmann" Received: from neon.rchland.ibm.com by po1 (AIX 3.2/UCB 5.64/4.7) id for caml-list@pauillac.inria.fr; Sat, 13 May 2000 16:59:47 -0500 Received: by neon.rchland.ibm.com (AIX4.3/UCB 8.8.8/4.7) id ; Sat, 13 May 2000 16:59:47 -0500 Sender: ortmann@rchland.ibm.com To: caml-list@pauillac.inria.fr Subject: The performance cost of using exceptions? From: Daniel Ortmann Date: 13 May 2000 16:59:47 -0500 Message-Id: X-Mailer: Gnus v5.7/Emacs 20.5 Resent-From: weis@pauillac.inria.fr Resent-Date: Sun, 14 May 2000 23:17:29 +0200 Resent-To: caml-redist@pauillac.inria.fr Are programs written to make heavy use of exceptions going to be markedly slower than programs written more traditionally with loops/ifs, etc? (My uninformed mental picture of exception is that they would use some type of underlying setjump/longjump overhead.) Thanks in advance to anyone who replies. -- Daniel Ortmann, IBM Circuit Technology, Rochester, MN 55901-7829 ortmann@vnet.ibm.com or ortmann@us.ibm.com and 507.253.6795 (external) ortmann@rchland.ibm.com and tieline 8.553.6795 (internal) ortmann@isl.net and 507.288.7732 (home) "The answers are so simple, and we all know where to look, but it's easier just to avoid the question." -- Kansas