KEMBAR78
Avoid using wider types in `generate_canonical` when the range of the random generator is a power of 2 by statementreply · Pull Request #4850 · microsoft/STL · GitHub
Skip to content

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
@StephanTLavavej
Copy link
Member

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

@CaseyCarter
Copy link
Contributor

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