Skip to content

fix: resolve easy TODOs and doc issues#571

Open
DaniPopes wants to merge 2 commits intorecmo:mainfrom
DaniPopes:dani/fix-easy-todos
Open

fix: resolve easy TODOs and doc issues#571
DaniPopes wants to merge 2 commits intorecmo:mainfrom
DaniPopes:dani/fix-easy-todos

Conversation

@DaniPopes
Copy link
Copy Markdown
Contributor

@DaniPopes DaniPopes commented Apr 21, 2026

Closes #545 - const_eq counter-based implementation for ~200 cycle improvement on x86_64
Closes #349 - Fix incorrect panic doc on Matrix::from_u64 (said r0 < r1, should be r1 > r0)
Closes #323 - Remove stale // TODO: document algorithms from #![allow(missing_docs)] (unstable internal module, allow is intentional)

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 21, 2026

Merging this PR will improve performance by 11%

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 3 improved benchmarks
✅ 383 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
most_significant_bits/4096/4096 28.9 µs 26.1 µs +11%
to/f32/4096 29.1 µs 26.3 µs +10.77%
to/f64/4096 29.2 µs 26.4 µs +10.61%

Comparing DaniPopes:dani/fix-easy-todos (96c32be) with main (4af858c)

Open in CodSpeed

- perf(cmp): use counter-based const_eq for better x86_64 codegen
- docs(gcd): fix incorrect panic doc on Matrix::from_u64
- chore: remove stale TODO suffix from missing_docs allow
- chore: justify clippy::similar_names allow with paper reference
@DaniPopes DaniPopes force-pushed the dani/fix-easy-todos branch from 7c48e46 to 96c32be Compare April 21, 2026 22:40
@DaniPopes DaniPopes marked this pull request as ready for review April 21, 2026 22:40
@DaniPopes DaniPopes requested a review from prestwich as a code owner April 21, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant