O'Reilly logo
  • wenyang duan thinks this is interesting:

Note that when the flow of control naturally leaves the try block and enters the finally block (as shown in Funcenstein1), the overhead of entering the finally block is minimal. On x86 CPUs using Microsoft’s compiler, a single machine instruction is executed as execution leaves the try block to enter the

From

Cover of Windows® via C/C++, Fifth Edition

Note

this is why avoid returning directly from try blocks.