02-Apr-2013 21:48, Walter Bright пишет:
On 4/2/2013 4:59 AM, Dmitry Olshansky wrote:
If somebody comes up with a reasonable Visitor pattern for Exceptions
that is
flexible and fast then sure let's see it.

It doesn't really need to be fast. If you need performance out of
Exceptions, you're misusing the idiom.

The exceptions are slowish but that hardly justifies adding an extra amount of overhead on top of that. This might as well push people to avoid them even where it makes perfect sense to use exceptions.

That being said let's see that beast and then measure, then optimize and then judge it.

--
Dmitry Olshansky

Reply via email to