Skip to content

Conversation

@Shnatsel
Copy link
Contributor

Companion to #17, requires Rust 1.86 or later.

Unlike #17 the conversion here is really straightforward. The function was already performing all the necessary safety checks without relying on the caller to uphold any invariants before this PR.

No change on the Criterion benchmarks in the repo on my Zen4 CPU.

@Shnatsel Shnatsel marked this pull request as draft October 30, 2025 10:08
@Shnatsel Shnatsel marked this pull request as ready for review October 30, 2025 10:44
@vstroebel
Copy link
Owner

No performance changes on Zen3 and Haswell as well.
My Zen1 based Notebook (R7 3700U) shows a slowdown of 2% to 5%. But this is not fully reproducible and might be just a "Benchmarking is hard on mobile devices" kind of Problem.

@vstroebel vstroebel merged commit f4ab0f2 into vstroebel:main Nov 29, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants