Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix perf regression in IntPtr operators on 32-bit platforms #41198

Merged
merged 1 commit into from
Aug 24, 2020

Commits on Aug 23, 2020

  1. Fix perf regression in IntPtr operators on 32-bit platforms

    Switching to C# built-in uint/nuint types caused these operators to use long/ulong IntPtr/UIntPtr constructors instead of int/uint IntPtr constructors that it were used before.
    
    The fix is to avoid going through the IntPtr/UIntPtr constructors and just depend on the built-in uint/nuint implicit conversions.
    
    Fixes dotnet#41167
    jkotas committed Aug 23, 2020
    Configuration menu
    Copy the full SHA
    f81b0b4 View commit details
    Browse the repository at this point in the history