The performance regression in the optimization: Part II

added by DotNetKicks
12/1/2016 3:16:08 PM

2 Kicks, 234 Views

The problem is in the RemoveBefore method. In the old version, if we removed all the entries, we'll remove it completely from the dictionary. In the new version, we'll reset the buffer so it can be used again next time.