Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AlexGuteniev
Copy link
Contributor

Fix #5908

The auto vectorization recipe applied in #4431 did not work in 17.14.
Another recipe would have worked, but it does not work in the latest Insiders.
So chasing the compiler auto vectorization here appears to be unproductive.

Do not help the compiler ™️

Benchmark results

Benchmark Before After
rc<std::uint8_t> 917 ns 58.4 ns
rc<std::uint16_t> 2074 ns 109 ns
rc<std::uint32_t> 1299 ns 207 ns
rc<std::uint64_t> 930 ns 548 ns

@StephanTLavavej StephanTLavavej added the performance Must go faster label Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Must go faster

Projects

Status: Initial Review

Development

Successfully merging this pull request may close these issues.

Vectorize replace_copy for x64 / x86

2 participants