In article <>,
says...
> I am writing a messaging library which calls a method every few
> milliseconds to dispatch mesagaes awaiting in a queue.
>
> I wnat to wrap the method call with a try/catch, for more robust code,
> but I am wondering if there will be a noticeable performance hit ? ..
You'll have to profile it with your implementation to know for sure, but
many compilers have virtually no overhead until/unless an exception is
actually thrown.
--
Later,
Jerry.
The universe is a figment of its own imagination.