Skip to content
New issue

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

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

Already on GitHub? # to your account

Redesign LeftShiftOverflows test #95

Merged
merged 1 commit into from
May 16, 2024
Merged

Redesign LeftShiftOverflows test #95

merged 1 commit into from
May 16, 2024

Conversation

brantburnett
Copy link
Owner

The current test was based on the C++ test, but the overhead of the LeftShiftOverflowsMasks lookup is much higher on C#, especially on legacy .NET Framework. In particular, this new approach avoids range checks and theoretical exceptions.

The current test was based on the C++ test, but the overhead of the
LeftShiftOverflowsMasks lookup is much higher on C#, especially on
legacy .NET Framework. In particular, this new approach avoids range
checks and theoretical exceptions.
@brantburnett brantburnett merged commit 08094ad into main May 16, 2024
30 checks passed
@brantburnett brantburnett deleted the leftshiftoverflows branch May 16, 2024 23:46
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant