recmo / uint

Rust Uint crate using const-generics
MIT License
171 stars 40 forks source link

perf: re-inline always addmul #381

Closed DaniPopes closed 4 months ago

DaniPopes commented 4 months ago

Turns out addmul is not that big as I thought, and inlining it provides a decent speed up, unlike division. Partially reverts https://github.com/recmo/uint/pull/374.

I also made addmul_ref test-only as the comment suggests.