Digging into the CoreCLR: Exceptional costs, Part II

added by DotNetKicks
8/15/2016 3:11:15 PM

2 Kicks, 246 Views

Even under shallow review, we can conclude that this code is definitely faster than the alternative. Now what did we win against the try-catch version? Essentially, we don't have a prolog and an epilog in case of the choosing the exceptional path, that's faster than having to execute such code.