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

[release/5.0] Fix perf regression in IntPtr operators on 32-bit platforms #41254

Merged
merged 1 commit into from
Aug 24, 2020

Commits on Aug 24, 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 #41167
    jkotas authored and github-actions committed Aug 24, 2020
    Configuration menu
    Copy the full SHA
    9e47ba8 View commit details
    Browse the repository at this point in the history