forked from rust-num/num-bigint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
199: Optimizations for multiplication r=cuviper a=cuviper Relevant benchmarks: ``` factorial_100 5,137 2,663 -2,474 -48.16% x 1.93 factorial_div_biguint 791,253 773,134 -18,119 -2.29% x 1.02 factorial_div_u32 766,341 748,398 -17,943 -2.34% x 1.02 factorial_mul_biguint 113,269 58,480 -54,789 -48.37% x 1.94 factorial_mul_u32 35,062 37,848 2,786 7.95% x 0.93 multiply_0 39 40 1 2.56% x 0.98 multiply_1 3,693 3,708 15 0.41% x 1.00 multiply_2 309,911 215,371 -94,540 -30.51% x 1.44 multiply_3 662,091 494,419 -167,672 -25.32% x 1.34 pow_bench 2,550,050 2,144,069 -405,981 -15.92% x 1.19 pow_bench_1e1000 1,332 1,071 -261 -19.59% x 1.24 pow_bench_1e10000 62,234 36,109 -26,125 -41.98% x 1.72 pow_bench_1e100000 2,530,757 1,134,613 -1,396,144 -55.17% x 2.23 pow_bench_bigexp 2,630,660 2,155,688 -474,972 -18.06% x 1.22 ``` Co-authored-by: Josh Stone <[email protected]>
- Loading branch information
Showing
7 changed files
with
207 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.