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
this is why avoid returning directly from try blocks.
Share this highlighthttp://www.safaribooksonline.com/a/windows-via-cc/5447278/