A common execution path optimization

added by DotNetKicks
2/22/2017 12:48:47 PM

2 Kicks, 268 Views

Today I want to talk about one interesting optimization pattern that you may face in framework code or in high-performance libraries. The idea is simple: suppose you have a commonly used method that has two execution paths - one is very common and simple, and the second one takes longer to execute, has more steps...