S
Steven T. Hatton
What is the runtime cost of wrapping a function call in a try/catch? I
assume it's something like an if/else when it goes on the stack. I believe
that means an additional compare and an additional memory location to
branch to. Would this be significant enough to make a difference between
say putting the try{}catch{} inside the body of a loop as opposed to
wrapping the loop in the try/catch?
assume it's something like an if/else when it goes on the stack. I believe
that means an additional compare and an additional memory location to
branch to. Would this be significant enough to make a difference between
say putting the try{}catch{} inside the body of a loop as opposed to
wrapping the loop in the try/catch?