Michael Neumann
|
856ea59d70
|
Improve performance by replacing bit_vec with fixedbitset.
Before:
test bench_solve_100 ... bench: 53,365 ns/iter (+/- 651)
test bench_solve_1000 ... bench: 5,864,809 ns/iter (+/- 102,059)
test bench_solve_2000 ... bench: 34,347,333 ns/iter (+/- 200,639)
After:
test bench_solve_100 ... bench: 41,574 ns/iter (+/- 765)
test bench_solve_1000 ... bench: 4,693,452 ns/iter (+/- 189,201)
test bench_solve_2000 ... bench: 29,954,973 ns/iter (+/- 438,573)
|
2015-11-29 15:03:57 +01:00 |
|