Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
plugins/pay: iterate the htable properly, not from start each time.
time lightning-cli -R --network=regtest --lightning-dir /tmp/ltests-k8jhvtty/test_pay_stress_1/lightning-1/ listpays > /dev/null Before: real 0m12.447s user 0m0.143s sys 0m0.008s After: real 0m2.054s user 0m0.114s sys 0m0.024s Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
- Loading branch information