You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I look at the benchmark which was used to optimize dotnet/coreclr#9786, it looks flawed. All the measurements are made with a fairly small bucket. This will train the branch predictors and result in excessively branchy code. I think that is why the "optimized" Buffer.cs code is so complicated. I will add some additional tests which will hopefully detect the branch prediction penalties.
Check what was done for x86/x64 in dotnet/coreclr#9786
The text was updated successfully, but these errors were encountered: