Exception handling speed

Jun 10, 2010 at 6:25 PM
Edited Jun 10, 2010 at 6:27 PM


I have about 10 calculations that are made on a table. If the calculation is syntactically correct the calculation takes ca. 0.04 seconds.

If I enter a syntax error, the calculation takes 0.8 seconds.

Any idea where the time is taken or if I can improve the speed of the exception handling?



Jun 11, 2010 at 2:26 AM

I think this may be a general c# issue when throwing an exception and not Ncalc's problem!