comp.lang.ada
 help / color / mirror / Atom feed
From: "Peter C. Chapin" <pcc482719@gmail.com>
Subject: Re: Exception handling overhead?
Date: 25 Apr 2009 11:58:17 GMT
Date: 2009-04-25T11:58:17+00:00	[thread overview]
Message-ID: <Xns9BF8511619D58pcc482719gmailcom@198.186.192.137> (raw)
In-Reply-To: 9faab480-850c-4ec5-b05e-8daec0301928@x5g2000yqk.googlegroups.com

Ludovic Brenta <ludovic@ludovic-brenta.org> wrote in news:9faab480-850c-
4ec5-b05e-8daec0301928@x5g2000yqk.googlegroups.com:

> GNAT provides two exception handling mechanisms: zero-cost and setjump/
> longjump. "Zero-cost" really means zero _distributed_ cost, i.e. you
> incur a cost only when raising an exception, as you describe. The
> older setjump/longjump mechanism costs some execution time and memory
> whether you raise exceptions or not. It is possible to select either
> mechanism when compiling your program.

Thanks! I'll check it out. It sounds interesting.

Peter



  parent reply	other threads:[~2009-04-25 11:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-24 11:52 Exception handling overhead? Peter C. Chapin
2009-04-24 12:06 ` Ludovic Brenta
2009-04-24 12:42   ` Dmitry A. Kazakov
2009-04-25 11:58   ` Peter C. Chapin [this message]
2009-04-24 14:06 ` anon
2009-04-24 15:48   ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox