On 20-Mar-2003, Thong Nguyen <[EMAIL PROTECTED]> wrote:
> Exceptions can be much slower than using error codes, however, it
> should be noted that the path of error is usually the least walked path.
> Most of the time your code will not throw exceptions.  When exceptions
> aren't thrown there is *very* little overhead.

Are you sure?  Have you measured it?

Note that the exception handling scheme used on Windows requires some
overhead for "try" statements even in the case when no exception is thrown.

-- 
Fergus Henderson <[EMAIL PROTECTED]>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to