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

Avoid using wider types in generate_canonical when the range of the random generator is a power of 2 #4850

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

statementreply
Copy link
Contributor

Fixes #4750.

@statementreply statementreply requested a review from a team as a code owner July 21, 2024 06:49
@StephanTLavavej StephanTLavavej added the performance Must go faster label Jul 21, 2024
@StephanTLavavej StephanTLavavej self-assigned this Jul 21, 2024
@StephanTLavavej StephanTLavavej removed their assignment Aug 1, 2024
@StephanTLavavej StephanTLavavej self-assigned this Aug 6, 2024
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 3bc0f3e into microsoft:main Aug 8, 2024
39 checks passed
@StephanTLavavej
Copy link
Member

Warp 9.7! Warp 9.8! Warp 9.9! 🚀 🛸 ⚡

@CaseyCarter
Copy link
Member

Warp 9.7! Warp 9.8! Warp 9.9! 🚀 🛸 ⚡

I'm confused; those aren't powers of two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Must go faster
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

<random>: Optimize P0952R2 generate_canonical when R is a power of 2
3 participants